Click here to Skip to main content
15,939,960 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i am currently designing a WPF application that requires the use of push notification to the client device(For example if a operator is assigned a new task by the administrator, a push notification will be sent to the operator device and when the operator check the task as finished a push notification will be sent to the Administrators device). And also i want changes to the database data to reflect immediately on the client side. How can i go about this ? I figure WCF might be my best option but i don't know what to do?

1 solution

Look for duplex communications inside wcf. This facility allows you to reopen publication/subscription principle.
For example when you perform login request from a client side, WCF service will authorize this user and (for example) assign it to a specific group (for example: your's operator), then when some trigger is invoked, it will performs publication of specified message to a operator's group and broadcast it ... etc.

Another option could be SignalR (from ASP WEB stack).
Share this answer
Kaito Hack 11-Feb-14 3:34am    
I have a very similar case here, is there a sample or detailed article to illustrate the solution?
Oleksandr Kulchytskyi 11-Feb-14 3:44am    
There are a lot of samples here:

the articles above related to the WCF duplex communication, what is concersn signalR read about it on the Microsoft site.
With regards, Oleksandr.

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