G
Guest
Hello everyone,
I'm looking for a "directory path" solution that will allows me to test my
app locally and then test on remote web server without having to update my
web.config file each time I modify the file. In other words I'm storing the
paths (for centralizing purposes) as custom <appSettings> in the web.config.
expample (for local testing):
<add key="imagePath" value="http://localhost/app_folder/10_media/images/" />
expample (for remote testing):
<add key="imagePath" value="http://www.domain.com/10_media/images/" />
Is there a way to have the app run the local path when testing locally and
vice versa without manually changing the web.config ?
Any thoughts/solutions will be appreciated!
Thanks,
Enrique
I'm looking for a "directory path" solution that will allows me to test my
app locally and then test on remote web server without having to update my
web.config file each time I modify the file. In other words I'm storing the
paths (for centralizing purposes) as custom <appSettings> in the web.config.
expample (for local testing):
<add key="imagePath" value="http://localhost/app_folder/10_media/images/" />
expample (for remote testing):
<add key="imagePath" value="http://www.domain.com/10_media/images/" />
Is there a way to have the app run the local path when testing locally and
vice versa without manually changing the web.config ?
Any thoughts/solutions will be appreciated!
Thanks,
Enrique