This can be done, but writing a comet server in C # is a rather difficult task. We built one ( WebSync ), and it took a lot of effort. If you are just doing a research project, you can use the OnDemand version, which is hosted and has 10 free users. Now the server version is not free, but rather cheap ...
What is it worth if you decide to capsize your own, you will look at IHttpAsyncHandler, and you will need to do some flow control to deal with the default restrictions for a stream in IIS.
jvenema
source share