开发者

Comet programming and asp.net

i want to push data to user browser if an event happens on browser. with commet programming we can do this. http://en.wikipedia.org/wiki/Comet_%28programming%29

are any good tutorials available 开发者_Python百科 on net??


you should try PokeIn comet ajax library for ASP.NET


Check out WebSync, a full comet server for .NET.

There are lots of tutorials available too.


There seem to be a lot of Comet related projects on GitHub: http://github.com/search?q=comet&type=Repositories&x=0&y=0. I don't see any that are ASP.NET or C#, but you can get an idea of how things work from the other implementations.


I think the best place to start is the Ajax Patterns page on Comet. Also, you might want to have a look at Dojo's CometD project. I've been playing with comet a bit, but there are some browser (as well as server) bugs that makes it inherently difficult, along with the fact that comet is directly opposite to the intended usage of HTTP (client sends request, server responds).


There is an open source ASP.NET comet implementation called aspComet on GitHub. The solution comes with a sample chat project you could check out to get started.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜