Using SignalR, it is pretty easy to synchronise, distinct client PC browsers in realtime with inbuilt PUB/SUB mechanism. However SignalR can only be used with .NET 4.0 or above. We are trying to achieve similar functionality in .NET 3.5, since we can't upgrade our application at this point of time.
Considering the fact that SignalR leverages following recent technologies -
For asynchronous calls we're planning to use classical BeginAsync and callback approach, & ThreadPool for creting multiple threads. Still learning how to use HTML 5 WebSocket.
We're evaluating other alternatives as well like using jQuery AJAX & writing custom IIS Hander which could take async updates from Client 1 & push this to Client 2 and so on.
If you have done something similar in past, Can you please suggest which approach would be correct to proceed with ?
Thank you for your time.
Scalable pub/sub systems are notoriously difficult to implement. SignalR, a new technology from Microsoft that makes long polling practical and scalable, is the solution you've been waiting for to address the implementation headaches of pub/sub systems.
There are many alternatives for signalR that are used, like Firebase, pusher, webRTC, RabbitMQ, gRPC, and MQTT.
SignalR can be used together with Web API just fine, so some functionality in application which is not realtime and doesn't require persistent connection could be served by Web API.
I backported the v1.x and v2.x SignalR clients to NET35. They are available as NuGet packages here: http://www.nuget.org/packages/Nivot.SignalR.Client.Net35/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With