14

Does .NET 3.5 (WCF, or other) offer any type of push notification service?


I have a server and a client. I want a service to run on the server and if x happens then push a notification to the client. I don't want to pull the server every x minutes to gather the information.

Anthony
  • 9,451
  • 9
  • 45
  • 72
Jeremy H
  • 1,784
  • 4
  • 17
  • 27
  • Could you be more specific as to what you are looking for? Technically, .Net events are a push notification service but I figure that's not exactly what you are looking for. – Szymon Rozga Apr 06 '09 at 14:31

2 Answers2

22

Your question couldn't be any more general, but I'm going to take a guess and suggest you look at WCF callbacks.

I doubt your question relates to WPF or even WF, but you will need to elaborate if you think otherwise.

JAD
  • 2,035
  • 4
  • 21
  • 35
Kent Boogaart
  • 175,602
  • 35
  • 392
  • 393
  • 1
    I have a server and a client. I want a service to run on the server and if x happens then push a notification to the client. I don't want to pull the server every x minutes to gather the information. – Jeremy H Apr 06 '09 at 17:37
  • Looking into that now. Thanks Kent. – Jeremy H Apr 06 '09 at 17:55
  • Im trying to click the link, but it no longer works in 2016. – crh225 Apr 15 '16 at 13:09
-2

You don't need to use any call backs. You can use MSMQ with WCF. You can use the attached example I have made. If you sent it to be a public push server - i.e available via WebService - you will have to add a webservice that will use the MSMQ. The problem is that you will need to have an IIS installed on both the server and the client. If you use it internally then MSMQ will be enough. http://www.codeproject.com/KB/WCF/WcfMsmqServerPush.aspx

Gil Zhaiek
  • 17
  • 1