Click here to Skip to main content
15,885,435 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.50/5 (2 votes)
7 Jan 2011CPOL 11.4K   4  
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...

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.
10 Jan 2011Spectre_001
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...

License

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


Written By
Team Leader
Australia Australia
He is from a small village in Tirunelveli, TamilNadu (India). He is fun loving guy. He like to travel a lot. Bikes/Cars/Mobiles are his fantasies.

He started his career as a BPO Data Entry Assistant and got chance to work as an ASP.NET Programmer in the same company after a year. And he move to the next company in 2006 as Software Engineer.

He worked as a Team Leader in a private software development company @Chennai, India for 8+years.

Now working as a Consultant @Sydney, Australia.

Comments and Discussions