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.
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.
please click 'Mark as Answer' if my post helped you.
sidharth049
Member
356 Points
155 Posts
Difference between <Compilation debug="true/false"> and Release/Debug mode
Mar 04, 2010 09:28 AM|LINK
Hi,
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?
jeff@zina.co...
All-Star
87677 Points
11637 Posts
Moderator
Re: Difference between <Compilation debug="true/false"> and Release/Debug mode
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.
Jeff
sidharth049
Member
356 Points
155 Posts
Re: Difference between <Compilation debug="true/false"> and Release/Debug mode
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.
Bruce L
All-Star
18102 Points
2841 Posts
Re: Difference between <Compilation debug="true/false"> and Release/Debug mode
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
http://www.discountASP.NET