Comet/Reverse AJAX 的现代实现是如何工作的?有稳定的 C# WCF 或 ASP.NET 实现吗?
实现 Comet、HTTP Push 或 Reverse AJAX 的正确(或最佳)方法是什么?
您会推荐哪些 .NET 实现?
What is the correct way (or best) way to implement Comet, HTTP Push, or Reverse AJAX?
What .NET implementations would you recommend?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我听说过 WebSync 和 PokeIn,两者都是付费实现,我使用过 PokeIn,它非常简单。如果您希望编写自己的 COMET 实现代码,我只能说这是一项复杂的任务,因为您需要修改 IIS 的自然行为。这是一种绕过 HTTP 协议限制的巧妙方法,您需要非常清楚自己在做什么,这样才不会破坏周围的事物 =)。
I have hear about, WebSync and PokeIn, both are paid implementations, I have used PokeIn and its pretty straight forward. If you are looking forward to code your own COMET implementation, I just can say that its a complex task, because you need to modify the natural behaviour if IIS. Its a hacky way to get around the limitations of the HTTP protocol and you need to know really well what you doing so don't end up breaking things around =).
JOBG 的正确性在于:复杂性;这可能不是一项你愿意轻易承担的任务。我是 WebSync 的作者之一,我可以证明这是一项艰巨的任务。
下载中有大量示例,社区版是免费的。
JOBG is correct re: the complexities; it's probably not a task you want to undertake lightly. I'm one of the authors of WebSync, and I can attest that it's a difficult task.
There are a ton of examples in the download, and the community edition is free.
Microsoft 正在 SignalR 中开发 HTTP 推送
https://github.com/SignalR/SignalR
Microsoft is developing HTTP push in SignalR
https://github.com/SignalR/SignalR