Web.Config changes in Visual Studio 2010

In Visual Studio 2010, when you add a new project, it hard not to notice couple of things about the web.config files.

1) Web.config file is clean and lean 🙂 (Read about this in Scott Gu’s blog here)
2) Web.config has 2 files attached to it, Web.Debug.config and Web.Release.config (see image).

Visual Studio 2010

Visual Studio 2010 - Solution Explorer

These are new features that I think that are very valuable for the deployment process, In the past I have used manual swaps a lot to manage environment specfic information in the web.config files. This new feature will let you create deployment environment specific (Dev, QA, UAT, Stage, Prod, etc.) Web.config files using simple to write transformations. You can find detailed information on how to do this in this article. (Link)

Happy Programming!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s