How can I build real time system in asp.net?

偶尔善良 提交于 2021-02-05 09:28:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!