65.9K
CodeProject is changing. Read more.
Home

Supporting Development and Release web.config in Asp.Net

I do it a little differently.I basically use the Build Configuration. I normally maintain two Web.Config files as Debug.config and Release.config. I have written Post Build commands to the Project which automatically copies the Config file according to the Build Configuration.For...

I do it a little differently. I basically use the Build Configuration. I normally maintain two Web.Config files as Debug.config and Release.config. I have written Post Build commands to the Project which automatically copies the Config file according to the Build Configuration. For example, If I do Debug build, it makes a copy of Debug.Config and renames it to Web.Config.