The way I currently handle this is by having multiple config files such as:
web.config
web.Prod.config
web.QA.config
web.Dev.config
When the project gets deployed to the different environments I just rename the corresponding file with the correct settings.
Anyone have suggestions on how to handle this better?
EDIT: Here are some of the things that change in each config:
- WCF Client Endpoint urls and security
- Custom Database configs
- Session connection strings
- log4net settings