2

We have a server written in other technology (not .NET) which supports push technology (basically, can withstand long polling via HTTP 1.1) on the web. We are creating a .NET 3.5 application which is supposed to get push notifications (like a chat) from server when certain event occurs.

Is there any .NET framework for .NET 3.5 or below which works as a client for a HTTP 1.1 pushing? It should support reconnect on getting a message as far as I understand as well as reconnect every two minutes. Can WCF solve this type of tasks?

Artem
  • 7,275
  • 15
  • 57
  • 97

2 Answers2

2

WCF does support HTTP 1.1 and there is an async way of receiving notifications described with example here.

Artem
  • 7,275
  • 15
  • 57
  • 97
0

SignalR is a great platform for various implementations of WebRTC. It starts with WebSockets, falls back through server-sent events, through comet, long polling, and I think it may even fall into flash. It does so automatically as client and server negotiate to find a match. SignalR is primarily designed for .net 4+, but How to use SignalR with .net 3.5 has a fork for .net 3.5 which looks promising.

Community
  • 1
  • 1
robrich
  • 13,017
  • 7
  • 36
  • 63