views:

521

answers:

1

I have a web service and I would like to call an .exe file from within it.

Is this possible? If so, how is it done?

+2  A: 

I have done that is c# 3.5 with WCF. You can run a exe from a web service. The exe will run on the machine the service is host and with the user the service has been configured. You only have to write a normal Process.Start(...) code.

So the answer is yes you can and, of course, the exe will run on the web service host and not the client. If you need more details, be more specific in your question.

Melursus
Of course, you want your .exe to not have a UI or display to stdout, unless your service host has a UI or a stdout...
John Saunders