I have an Async HTTP Handler which serves as a Comet request/response, hosted in ASP.NET on IIS7.
The handler receives a request, then waits for an event to be called before sending the response back to the client.
Is it possible to call the event from outside of this ASP.NET application, in a separate web service hosted on the same web server?
I can think of a few ways (such as locally calling another HTTP handler on the same application), but this seems quite dirty. Is there a better way to do this?
I ended up calling the handler using a local HTTP request. The request was actually quite cheap in the end. Plus, we’ve decided we may need to move this functionality to another server in the future, which should be quite easy with a simple HTTP request.