Hi:
I need to deploy a web application to a server with various configuration files under Config folder, such as:
app.config.DEBUGWebA
app.config.RELEASEWebA
app.config.DEBUGWebB
app.config.RELEASEWebB
...etc.
When users access
http://myserver/WebA, config file of WebA should be used; if users access
http://myserver/WebB, config file of WebB should be picked up and used.
How can I pull this off? My server runs Win XP and IIS 5.1
Thanks.
I think you have to create separate config files and deploy it across the server accordingly!
You can also check this blog post on working with multiple config files - http://weblogs.asp.net/jalpeshpvadgama/archive/2011/03/23/working-with-more-then-one-web-config-files-in-asp-net-application.aspx
As far as i know, you cannot achieve what you wish just with configuration. It won't happen automatically!
Hope it helps u...