I am new to mvc and woking on Asp.net 3.5 and MVC 2,IE 8 - 10 compatibility matters to the client.
I need to implement real time notifications like facebook,gmail.
Can some one please help me with code sample compatible with .Net 3.5 and MVC2 and IE 8 - 10 support??
P.N.- I have researched alot on net,gone through many blogs,answers but did not get so perfect solutions,below are I tried solutions-
3 approach for notification -
1) Polling - Client sends request to server after every time interval(timer) for the new updates. => We wont use this approach anyways.
2) Server Push -
i) Modern server push techniques like websockets,server sent events(HTML5) are not supported by any of IE version IE.7- IE.11 . Ref Url :
http://blogs.microsoft.co.il/gilf/2012/04/10/using-html5-server-sent-events-with-json-and-aspnet-mvc/
http://caniuse.com/#feat=eventsource
ii) Libraries mentioned below did not work in .Net framework 3.5-
a)Inbuilt SignalR library provided by microsoft support .Net framework 3.5+(ie. only 4.0,4.5)
b) Third party libraries like pokein did not work in .Net framework 3.5
c) Web Sync (Paid)
3) Comet(Long polling) - Used asynchronous controller.
I have used this approach which is unstable,as I can not perform any other operations on the page - http://clay.lenharts.net/blog/2010/10/19/websockets-is-cool-but-what-can-you-do-today/