.net – Visual Studio publish in debug Vs Release mode

.netasp.netdeploymentvisual-studio

I know the difference between debug and release mode BUILD. But I have a small doubt, does it make any difference on what mode I select while publishing the application thru Visual studio?

Best Solution

If you publish using Debug mode, your generated files have debugging enabled and that will impact the performance.

It is always recommended that you publish website in Release Mode

Please read this Don’t run production ASP.NET Applications with debug=”true” enabled