IPC between a windows service and a webservice

  • Thread starter Thread starter J
  • Start date Start date
J

J

Hello,

What is the best/easiest way to setup interprocess communication between
a windows service and a webservice? The windows service will be running on
the same machine that is hosting the web service.

The web service will be calling the windows service to get information
relating to the printers installed on this machine.

J
 
Why do you need a service? Why not simply retrieve the list of locally
installed printers from within the webservice method.

Willy.
 
Hi,

For IPC you could use TCP/IP protocol, Named Pipes or Shared Memory...
easyest to use is TCP/IP protocol .. becouse with named pipes and shared
memory you will have trouble to set it to work (rights) between asp.net (web
service) and windows service ...

Otherway ... i wroted commercial library for IPC (named pipes and shared
memory) for .NET.. and it can communicate between asp.net and windows
services. You can find it at: http://www.habjansoftware.com/ipc_library.aspx

Regards,
Josip Habjan
http://www.habjansoftware.com
 
Back
Top