Currently I have a C# application and a ASP.NET Web Application. I used WCF to pass data directly from the ASP.NET Web Application to the C# application. However, the ASP.NET Web Application relies on AJAX Timers (Polling) to dynamically updates pages with new data from a database. The database is constantly being updated.
Is it possible to have the C# application pass data dynamically to the ASP.NET web application via WCF and eliminate the need for timers and polling? The C# application would need to be able to check if a certain user is connected, send data to that user.
I am not sure if this is feasible, but I thought it wouldn’t hurt to check.
I know three alternatives:
Probably the feature will be WebSockets, but right now they have not been standarized, so meanwhile, I think SignalR is the best bet
Use SignalR, SignalR Docs
WebSockets (they are used in StackOverflow)
http://www.html5rocks.com/en/tutorials/websockets/basics/
http://en.wikipedia.org/wiki/WebSocket
Comet: