Click here to Skip to main content
15,881,033 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:

I want to create one client-server based application using WPF.

Now Which one is better SignalR or WCF Services for communication between client and server.
I have require to send data to all connected client from server side as well as one client can do some operation which should notify to all other connected clients, which are connected to same server.

Can anyone explain me which one is better in this type of scenario?

Thanks in Advance,

1 solution


What is WCF????
Windows Communication Foundation (WCF) is a framework for building service-oriented applications. Using WCF, you can send data as asynchronous messages from one service endpoint to another. A service endpoint can be part of a continuously available service hosted by IIS, or it can be a service hosted in an application. An endpoint can be a client of a service that requests data from a service endpoint. The messages can be as simple as a single character or word sent as XML, or as complex as a stream of binary data. A few sample scenarios include:

A secure service to process business transactions.

A service that supplies current data to others, such as a traffic report or other monitoring service.

A chat service that allows two people to communicate or exchange data in real time.

A dashboard application that polls one or more services for data and presents it in a logical presentation.

Exposing a workflow implemented using Windows Workflow Foundation as a WCF service.

A Silverlight application to poll a service for the latest data feeds.

While creating such applications was possible prior to the existence of WCF, WCF makes the development of endpoints easier than ever. In summary, WCF is designed to offer a manageable approach to creating Web services and Web service clients.
Features of WCF

WCF includes the following set of features. For more information, see WCF Feature Details.

What is SignalR?

ASP.NET SignalR is a new library for ASP.NET developers that simplifies the process of adding real-time web functionality to your applications. Real-time web functionality is the ability to have server-side code push content to connected clients instantly as it becomes available.

Share this answer
npdev13 8-Mar-13 2:11am    
Hi Shubham,

Thanks for quick response.

Yes I go through both the links, but still not getting exact difference or which one is better in my case to use where we require Client (WPF) - Server (Window Service runs 24x7) architecture.

Can you please give you comment on this.

Thanks in advance.
Shubham Choudhary 8-Mar-13 2:38am    
hi!!! geeks001

Truly i say i don't know more about SignalR...
buit I see for SignalR are chat programs...'
check this link
npdev13 8-Mar-13 4:00am    
Hi Shubham,

By using WCF and SingalR we can create the chat application. But my main question still open which one is better.

But anyway thank for taking time and try to help me.

Bart_Rennes 11-Feb-15 12:46pm    

Did you finally find the best solution?


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900