views:

116

answers:

4

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 on net??

+1  A: 

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.

Matt
+1  A: 

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).

Andreas Jansson
+2  A: 

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

There are lots of tutorials available too.

jvenema
A: 

you should try PokeIn comet ajax library for ASP.NET

BigbangO