473,386 Members | 1,795 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

making debug=true in web.config slows the application

Hi,

I want in debug mode debug=true. In release (production), no reason debug to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
Nov 19 '05 #1
6 1811
dude.... with the sheer amount you've posted lately have you thought you may
want to get a book or try google?
Now I dont think anyone here has issues with helping out, it's why we come
here, but it almost seems like either you aren't trying at all or you just
want someone else to do your work for you....

Just my $.02 worth, not meant to offend, just offering constructive advise.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@haceb.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hi,

I want in debug mode debug=true. In release (production), no reason debug
to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #2
use two different web.config files, one with production settings, one with
development settings, dont release this with your apps unless you have to
make a change.

It's what most people I know do, or they adjust their web.config prior to
release, then reset it in dev.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@haceb.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hi,

I want in debug mode debug=true. In release (production), no reason debug
to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #3
thanks! but My Issues sometimes are difficult and I cant find them on
google! or maybe I dont know to search.

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/
"Curt_C [MVP]" <software_AT_darkfalz.com> escribió en el mensaje
news:e1****************@tk2msftngp13.phx.gbl...
use two different web.config files, one with production settings, one with
development settings, dont release this with your apps unless you have to
make a change.

It's what most people I know do, or they adjust their web.config prior to
release, then reset it in dev.

--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@haceb.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hi,

I want in debug mode debug=true. In release (production), no reason debug to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/


Nov 19 '05 #4
Luis,
I have to agree with Curt. I've skipped over one of your questions earlier
simply because you've asked so much. I'm not sure that you realize this but
most of the people who answer questions on here do so voluntarily. I
don't mind helping out, but most of the stuff you ask could easily be
encouvered via google or from a book...that's fine once, but frankly, why
don't you just ask us to write your application for you?

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"Curt_C [MVP]" <software_AT_darkfalz.com> wrote in message
news:uC****************@TK2MSFTNGP10.phx.gbl...
dude.... with the sheer amount you've posted lately have you thought you may want to get a book or try google?
Now I dont think anyone here has issues with helping out, it's why we come
here, but it almost seems like either you aren't trying at all or you just
want someone else to do your work for you....

Just my $.02 worth, not meant to offend, just offering constructive advise.
--
Curt Christianson
Site & Scripts: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Luis Esteban Valencia" <lu*******@haceb.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hi,

I want in debug mode debug=true. In release (production), no reason debug to
be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true
and
in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/


Nov 19 '05 #5
A query like the following should get you in the right direction, no?

http://www.google.com/search?hl=en&l...Amicrosoft.com

--
Scott
http://www.OdeToCode.com/blogs/scott/
thanks! but My Issues sometimes are difficult and I cant find them on
google! or maybe I dont know to search.

Nov 19 '05 #6
Luis, I'm not aware of a way to automate configuration differences in
Web.config across DEV / TEST / PROD. In our environment we manage this as
follows;

+ All web projects have a /deploy/test and /deploy/prod subdirectory,
containing any files that supercede the DEV versions. Web.config is the
most common entry here, but on occasion certain XML files, etc may change
during deployment.
+ We maintain the DEV, TEST, and PROD versions of these files separately.
DEV files being in the normal location within the source. All files are
managed in source control.
+ At deployment, we run a custom tool that deploys the files from (e.g.)
DEV to TEST, and then overlays the files from the /deploy/test directory.
This ensures that anything different between DEV and TEST, or between TEST
and PROD, can be handled automatically at deployment.

If you cannot find a better option, you might consider going this route.
There are other advantages to the custom-deployment-tool approach as well,
like being able to send email notifications to the TEST team, logging
deployment events in a database, updating change histories from source
control, avoiding the copy of undesired files (*.cs, *.scc, etc) and
directories (/deploy/*, /debug/*, etc), temporarily displaying a "The site
is being updated" message, and so on.
"Luis Esteban Valencia" <lu*******@haceb.com> wrote in message
news:#5**************@TK2MSFTNGP12.phx.gbl...
Hi,

I want in debug mode debug=true. In release (production), no reason debug to be true but the questions are:
1. Does it slow the application (holding debug=true)
2. If yes, how can I solve the problem so that in debug mode debug=true and in realse debug=true. To hold 2 separate files - seems not so good idea
Additional question: is there any correlation between debug in web.config
file and Project settings?
thanks

--
LUIS ESTEBAN VALENCIA
MICROSOFT DCE 3.
MIEMBRO ACTIVO DE ALIANZADEV
http://spaces.msn.com/members/extremed/

Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Voronkov Konstantin | last post by:
Hello, All! I have following problem with std::string class. I exproted class from dll which has function which returns std::string. I compiled dll in *release* configuration (using...
0
by: Chris | last post by:
Hi We're porting an MFC application from VS 5.0 to VS 7.0 (using pure C++ only). There is a problem when the application exits: ... 'ratv_client.exe': Unloaded...
8
by: Mihajlo Cvetanović | last post by:
My application crashed (with the "cannot read memory, press OK to terminate or Cancel to debug" message) on the machine that has VC7.1. I just copied the original project with pdb file to that...
2
by: johdi | last post by:
Hey there, This is no doubt demonstrating how cruddy my understanding is - what are the performance implications of having left the Debug=true value in your web.config file but not...
1
by: Wade | last post by:
Hi all, We have a debate going on here in the office. There's one group that would prefer to have our LIVE environment with debugging turned on, because it's convenient when there's an error,...
1
by: Steve Franks | last post by:
Is there a way I can have my options set up so that on the production machine debug=false is always used, but on my dev machine debug=true is used? Currently I do not know how to do this,...
1
by: Rv0 | last post by:
I have written a VB.Net (v69586...) application which is targetted for Windows 2000 SP4 clients running dotNet framework V1.0.03705 and 1.1. This application works fine on about 50% of the 100...
0
by: RonL | last post by:
Using Visual Studio, what is the difference between using Configuration Manager to set the Active Solution Configuration to Debug/Release and using Web.config to set Compilation to "debug=true"....
1
by: john_c | last post by:
Is setting Debug=true in the config file the same as compiling with the IDE set to debug? Thanks, John
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.