Alex Rivera | Logout

When publishing an ASP.NET application, should I change the build type to Release in the Visual Studio Configuration Manager?

Asked 2009-03-13T14:00:48.647
14

For my production sites I usually change the "debug" flag in the Web.Config to "false". But I always publish my sites with the Configuration Manager set to "Debug". Should I change this setting too?

Edit
Report

1 Answer

8

Yes, as suggested in MSDN :

Enabling debug mode will greatly affect the performance of your ASP.NET application. Remember to disable debug mode before you deploy a release application or conduct performance measurements.

answered 2009-03-13T14:13:43.390

Your Answer