如何在asp.net中构建实时系统? [英] How can I build real time system in asp.net?

查看:87
本文介绍了如何在asp.net中构建实时系统?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为医疗保健域构建一个asp.net应用程序.我需要保留页面以反映实时更新.一种方法是每x分钟刷新一次页面,但是如果没有更新,则可能会增加负载.此外,这样做可能无法获得确切的实时数据.我想实现几乎完整的实时功能.

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#..?

推荐答案

看看SignalR https://github.com/SignalR/SignalR http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx 我认为这正是您所需要的.

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.

这篇关于如何在asp.net中构建实时系统?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆