IPC between a windows service and a webservice

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
 
W

Willy Denoyette [MVP]

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

Willy.
 
J

Josip Habjan

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top