Click here to Skip to main content
15,867,141 members
Articles / Web Development / ASP.NET
Alternative
Tip/Trick

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.3K   4   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...
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.

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

 
GeneralMy vote of 4 Pin
bertkid16-Jan-13 2:44
bertkid16-Jan-13 2:44 
GeneralMy vote of 2 Pin
bertkid14-Jan-13 14:19
bertkid14-Jan-13 14:19 
GeneralRe: My vote of 2 Pin
Venkatesh Mookkan14-Jan-13 17:15
Venkatesh Mookkan14-Jan-13 17:15 
GeneralReason for my vote of 5 Yep by this way too. Good one Pin
thatraja7-Jan-11 14:56
professionalthatraja7-Jan-11 14:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.