Hi,
I have an ajax call being made in a long-polling fashion - a new call is instantly made each time data has been returned. Up till now I have just been returning random data in the callback but want now to plug into my real data, which arrives to a windows service say 10 times per second.
Given my Ajax call is transient, how should I wire it up to the windows service? I have several windows services talking to each other over TCP/IP sockets but I'm worried that creating a socket each time there is an Ajax call is going to create a big overhead. In the old COM/COM+ days I would have had a component instantiated in Component Services which would have stayed active with regular requests and could have stayed connected to the windows service. How can I put in such an extra tier in .net 2.0 / 3.5?
Don't worry about a precise answer - any tips for connecting asp.net pages to windows services would be helpful.
Thanks,
< ...
Go to the complete details ...