in

Utah .NET User Group

Home of Utah's professional .NET developers.

IIS7 Working Directory

Last post 08-06-2008 11:04 PM by SJR3t2. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 08-06-2008 11:04 PM

    • SJR3t2
    • Top 10 Contributor
      Male
    • Joined on 04-05-2007
    • West Valley City, UT 84119
    • Posts 17

    IIS7 Working Directory

    I am writing a WCF Service to be hosted with WAS. 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.
    Steven
    http://blog.RetzNest.com/
Page 1 of 1 (1 items)
Copyright © 2000-2007, Utah .NET User Group
Powered by Community Server (Commercial Edition), by Telligent Systems