Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在查看有关 HTTP 推送的WCF 示例,并希望将这种长轮询方法移至 Azure。
需要考虑哪些因素?
我需要创建自定义同步上下文吗?
如果您想通过 http 进行服务器到客户端的推送,我会推荐 SignalR。
看看 www.signalr.net 和 github.com/SignalR/SignalR/wiki
也看看一个样本
http://www.hanselman.com/blog/AsynchronousScalableWebApplicationsWithRealtimePersistentLongrunningConnectionsWithSignalR.aspx?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+ScottHanselman+%28Scott+Hanselman+-+ComputerZen.com%29
和
http://www.flyersoft.net/post/2012/05/16/Integration-with-911-dispatch-center-using-Azure-and-SignalR-(part-1).aspx