You can try SignalR. It's a .NET library designed for this kind of real-time functionality.
What is the most efficient way to stream values to clients in c#
-
02-04-2022 - |
Question
I'm wondering how websites like http://www.eztrader.com/Trading.aspx stream prices to users. I know I could set an ajax call with a timeout to request the price from the server every 2 or 3 seconds, but is there a more efficient way of doing this? I'm using .net mvc 4.0 on the back-end.
Solution
OTHER TIPS
thanks ,right one by @Matthew Flaschen
thanks for the link i also searched it and found more interesting
http://www.asp.net/signalr/overview/introduction/what-is-signalr
http://blog.pluralsight.com/2013/03/20/new-course-introducing-asp-net-signalr-push-services-with-hubs/
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow