PDA

View Full Version : I am writing a WCF Service to be hosted with WAS...


snorwood
08-07-2008, 08:18 AM
This service needs to call a native win32 exe. I know how to call another process in .net, and capture its console output. What I don't know is the best way to find the app. I would like to install the exe with the service into the same folder, either bin or the 'root'. I would like to have the working directory the 'root' directory were the service was installed, instead of c:\windows\system32\inetsrv. I know I can find the bin folder because of the location of the running assembly, but I am hoping there is a more elegant way then that. I am also looking for suggestions of were to have the exe. Thanks in advance.

Aristotle
08-07-2008, 09:27 AM
You will not be able to do this on DiscountASP servers. WCF services can only be run in IIS and accessible only through HTTP/HTTPS.




Aristotle

DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)