ASP.Net Implementation

8 views
Skip to first unread message

Jerod Venema

unread,
Aug 22, 2008, 8:56:17 AM8/22/08
to cometd-users
I know there has at least been some mention of an IIS-based
implementation of cometd, and I was wondering if anyone has seen this
article:

http://www.codeproject.com/KB/aspnet/CometAsync.aspx

and if so, if anyone has any opinions as to the viability of the
approach.

Thanks in advance,

-Jerod Venema

rektide

unread,
Sep 19, 2008, 1:09:32 AM9/19/08
to cometd-users
Theres a significant bit of implementation there I dont deem entirely
necessary (the queue part doesnt seem necessary to me) but writing
some kind of async implementation is the only way that will scale at
all and he got that right. I too am implementing with
IHttpAsyncHandler. I dont know much about the async pages in ASP.NET
2.0, but hypothetically I believe you could fit Comet in there too,
but the async pages seems like it'd be a lot more computation cost /
complexity than you'd need. BeginProcessRequest EndProcessRequest is
cloes to the metal and the right way to go.

The real heart of the work isnt documented in the article. Its all
about your async event itself, the CometAsyncResult. Hope this gets
you on the right path. Good luck.
Reply all
Reply to author
Forward
0 new messages