S
Shock
I am interesting in figuring out how to use the PhysicalApplicationPath method or another equivalent method inside of the Web.Config file. I have a key in my appsettings that looks something like this
<add key="key" value="D:\App\dir\dir" />
Basically I want to be able to use the method to find the path that the web app is sitting in. Which is
D:\App\dir\dir
that way I could define my key as
<add key = "key" value = path />
This seems trivial, but I am not familiar with the intricacies of the web.config file.
To be able to do this would allow users to install the app in different locations and still be able to access the directories under the applications path.
Thanks ahead,
Shocks
<add key="key" value="D:\App\dir\dir" />
Basically I want to be able to use the method to find the path that the web app is sitting in. Which is
D:\App\dir\dir
that way I could define my key as
<add key = "key" value = path />
This seems trivial, but I am not familiar with the intricacies of the web.config file.
To be able to do this would allow users to install the app in different locations and still be able to access the directories under the applications path.
Thanks ahead,
Shocks