Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Mar 04, 2010 05:27 PM by Bruce L
Mar 04, 2010 09:28 AM|LINK
As far as i know when we deploy an asp.net project we have to deploy in release mode and make compilation debug="false" in the Web.Config.
What is the difference between the two?
Mar 04, 2010 01:56 PM|LINK
True sets debug mode, false doesn't. :)
The practical difference is running in debug mode consumes resources you don't need unless you are truly debugging the code. Sort of like driving in first gear beacause you need the torque to get your boat trailer up the hill, and not driving in first when
you're on the flat interstate and not towing anything.
Mar 04, 2010 02:46 PM|LINK
So to convert to Release mode from debug mode should i make debug="false" in Web.Config or should i use the configuration that i get by clicking property of the solution file.
Mar 04, 2010 05:27 PM|LINK
I think you need to change it in the web.config.
Also see http://weblogs.asp.net/scottgu/archive/2006/04/11/442448.aspx