问题
I am building an asp.net application for a health care domain. I need to keep the page to reflect real time updates. One way is to refresh the page after every x minutes but it may increase the load if there is no update. Moreover doing like this may not get the exact real time data. I want to achieve the almost complete real time functionality. How it can be done in ASP.NET C#..?
回答1:
Have a look at SignalR https://github.com/SignalR/SignalR and http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx I think it is just what you need.
来源:https://stackoverflow.com/questions/9664750/how-can-i-build-real-time-system-in-asp-net