Click here to Skip to main content
15,896,118 members
Articles / Web Development / ASP.NET

Supporting Development and Release web.config in ASP.NET

Rate me:
Please Sign up or sign in to vote.
4.00/5 (1 vote)
10 Jan 2011CPOL 8.8K   2  
I wrote a custom ConfigSectionHandler that allows encrypted entries. Then I crafted a config reader that determines, based on the name of the machine where the code is running, which configuration section to read from while decrypting any encrypted entries on the fly.There is a special...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
7 Jan 2011OriginalGriff 2 alternatives  
Supporting Development and Release web.config in ASP.NET
Please Sign up or sign in to vote.
7 Jan 2011Venkatesh Mookkan
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...

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
United States United States
Senior Software Developer US Coast Guard.

Comments and Discussions