Last post Mar 04, 2010 06:27 PM by Bruce L
Mar 04, 2010 10:28 AM|sidharth049|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 02:56 PMfirstname.lastname@example.org|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 03:46 PM|sidharth049|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 06:27 PM|Bruce L|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