Using SignalR , it is quite easy to synchronize individual browsers of client computers in real time using the built-in PUB / SUB mechanism. However, SignalR can only be used with .NET 4.0 or higher. We are trying to achieve similar functionality in .NET 3.5, since we cannot update our application at this time.
Given the fact that SignalR uses the latest technology -
- Parallel library task in dot net 4.0
- WebSockets in HTML5
- Asynchronous Postbacks Using AJAX
For asynchronous calls, we plan to use the classic BeginAsync and callback approach, and ThreadPool to create multiple threads. Also learn how to use HTML 5 WebSocket.
We evaluate other alternatives, also use jQuery AJAX and write a custom IIS Hander that can receive async updates from client 1 and push it to Client 2, etc.
If you have done something similar in the past, can you suggest which approach would be the right one to continue?
Thank you for your time.
source share