彗星实施ASP.NET? [英] Comet implementation for ASP.NET?

查看:155
本文介绍了彗星实施ASP.NET?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找方法来实现在浏览器中的Gmail般的消息,并到达彗星的概念。不过,我一直没能找到一个很好的.NET实现,可以让我在IIS中做到这一点(我们的应用程序是用ASP.NET 2.0)。

I've been looking at ways to implement gmail-like messaging inside a browser, and arrived at the Comet concept. However, I haven't been able to find a good .NET implementation that allows me to do this within IIS (our application is written in ASP.NET 2.0).

我发现(或可以想到的,对于这个问题)的解决方案需要离开每个用户正在运行的线程 - 所以,一旦他得到一个消息,它可以返回到他本人的回复。这并不当然规模在所有。

The solutions I found (or could think of, for that matter) require leaving a running thread per user - so that it could return a response to him once he gets a message. This doesn't scale at all, of course.

所以我的问题是 - 你知道彗星的ASP.NET实现,以不同的方式工作的?是,甚至有可能与IIS?

So my question is - do you know of an ASP.NET implementation for Comet that works in a different way? Is that even possible with IIS?

推荐答案

彗星是具有挑战性的,因为与彗星的持久连接的IIS扩展,但有一个团队在彗星现在的情况看。另外,也要看看亚伦勒奇的博客,因为我相信他做ASP.NET中的一些早期彗星的工作。

Comet is challenging to scale with IIS because of comet's persistent connectivity, but there is a team looking at Comet scenarios now. Also look at Aaron Lerch's blog as I believe he's done some early Comet work in ASP.NET.

这篇关于彗星实施ASP.NET?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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