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


This content was proof-read by Grammarly. You can Try Grammary for FREE

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.


Are you a .NET Developer planning to integrate GraphQL for .NET in your Application? Check out this book

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

%d bloggers like this: