Search code examples
.netlong-pollinghttp-1.1wcf-http

How to do HTTP 1.1 long polling in .NET 3.5?


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?


Solution

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