Difference between Web.Debug.config and Web.Release.Config in ASP.NET MVC Project

Published on April 5, 2013 by Senthil Kumar

Filed under ASP.NET

Last modified April 5, 2013

Print this page

rate 1 star rate 2 star rate 3 star rate 4 star rate 5 star
Your rating: none, Average: 0 (0 votes)

This article have been viewed 10586 times

When creating a ASP.NET MVC Project in Visual Studio 2010 , one might notice the Web.config file has additional 2 files

  • Web.Debug.config
  • Web.Release.Config

What are the difference between Web.Debug.config and Web.Release.Config in ASP.NET MVC Project ?

This is something new in Visual Studio 2010 and higher versions . It is called “Web Deployment’s Web.Config Transformation” feature.

You could have the settings specific for an environment like debug or production.

Know more about the Web Deployment’s Web.Config Transformation feature from MSDN Blog

1 Comment

  1. Interesting .NET Links – April 4 , 2013 | TechBlog
    April 6, 2013 - 10:01 pm

Leave a Comment


You might be Interested in these Posts

How to read connection string from web.config in ASP.NET and C# ?

Here's a sample code snippet demonstrating how to get the connection string from your ASP.NET web.co...

How to return Json instead of XML in ASP.NET Web API ?

When you make a call to the ASP.NET Web API action method and notice this in Google Chrome browser ,...

How to Add Web API to existing ASP.NET Web Forms Project ?

In one of the previous posts , we saw how to add the WebAPI to the existing ASP.NET MVC project. Wel...