views:

56

answers:

0

The scenario is as follows: a device (not a PC) makes an HTTP request to a server and passes in identifying information in the http headers. The http handler on the server receives the request and keeps it open (implementing a long poll type mechanism). At some point, a user running a desktop app invokes some UI that causes information to get sent to a web service running on the same server. Next, the web service needs to communicate information to the http handler so that the http handler can send a response to the device. What is the best way for the web service to communicate to the http handler? In case it makes any difference, the web service and http handler are part of the same web project.