Click here to Skip to main content
16,011,947 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: Making expandable dataitems Pin
Nick Parker17-Sep-02 6:12
protectorNick Parker17-Sep-02 6:12 
GeneralRe: Making expandable dataitems Pin
leppie17-Sep-02 7:07
leppie17-Sep-02 7:07 
GeneralRe: Making expandable dataitems Pin
Nick Parker17-Sep-02 7:09
protectorNick Parker17-Sep-02 7:09 
GeneralConsuming Web Services... Pin
Matt Philmon16-Sep-02 11:31
Matt Philmon16-Sep-02 11:31 
GeneralRe: Consuming Web Services... Pin
Dan_P17-Sep-02 20:35
Dan_P17-Sep-02 20:35 
GeneralSet User Control Visibility to False Pin
Jason Weibel16-Sep-02 10:44
Jason Weibel16-Sep-02 10:44 
GeneralRe: Set User Control Visibility to False Pin
Jason Weibel17-Sep-02 3:23
Jason Weibel17-Sep-02 3:23 
GeneralTrace and Performance Pin
Mauricio Ritter16-Sep-02 4:02
Mauricio Ritter16-Sep-02 4:02 
Let´s assume that I have a page with lots of trace code, being tested by the IsEnabled property of the Trace context. Something Like this:
<br />
If Trace.IsEnable = True Then<br />
	Trace.Warn("Warning ! Page meltdown !")<br />
	Trace.Write("Call thy fireman !")<br />
End If<br />
<br />
'*** Some Code Here<br />
<br />
If Trace.IsEnable = True Then<br />
	Trace.Warn("More tracing")<br />
	Trace.Write("More Messages")<br />
End If<br />


When I enable the trace, it will be display in the page or in the page file.. blá.. blá.. blá.

My question is: If I Disable the Trace, is the "IsEnabled" test code and the Trace.Write/Warn code included in the compiled version of the page ? If it is, does it impact much on performance ? Does anyone benchmarked a page with trace code and trace disabled ?

Mauricio Ritter - Brazil
Sonorking now: 100.13560 MRitter

Jig | [Dance] I've gone sending to outer space, to find another race Jig | [Dance]
GeneralRe: Trace and Performance Pin
Anonymously16-Sep-02 4:17
Anonymously16-Sep-02 4:17 
GeneralRe: Trace and Performance Pin
Mauricio Ritter16-Sep-02 4:22
Mauricio Ritter16-Sep-02 4:22 
Generalmultiple values from checkbox Pin
mcm16-Sep-02 3:57
mcm16-Sep-02 3:57 
GeneralRe: multiple values from checkbox Pin
Jeremy Falcon16-Sep-02 5:24
professionalJeremy Falcon16-Sep-02 5:24 
GeneralYes/No checkbox Pin
mcm15-Sep-02 22:39
mcm15-Sep-02 22:39 
GeneralRe: Yes/No checkbox Pin
Jeremy Falcon16-Sep-02 5:04
professionalJeremy Falcon16-Sep-02 5:04 
GeneralRe: Yes/No checkbox Pin
Paul Watson16-Sep-02 6:09
sitebuilderPaul Watson16-Sep-02 6:09 
GeneralWeb developing in VS.NET Pin
Philip Patrick15-Sep-02 3:53
professionalPhilip Patrick15-Sep-02 3:53 
GeneralRe: Web developing in VS.NET Pin
Philip Patrick15-Sep-02 10:49
professionalPhilip Patrick15-Sep-02 10:49 
GeneralSolved Pin
Philip Patrick15-Sep-02 11:32
professionalPhilip Patrick15-Sep-02 11:32 
GeneralHidding horizontal scroll bars Pin
alex.barylski13-Sep-02 14:06
alex.barylski13-Sep-02 14:06 
GeneralRe: Hidding horizontal scroll bars Pin
Paul Watson14-Sep-02 1:14
sitebuilderPaul Watson14-Sep-02 1:14 
GeneralRe: Hidding horizontal scroll bars Pin
alex.barylski14-Sep-02 13:58
alex.barylski14-Sep-02 13:58 
GeneralThe View State is invalid for this page and might be corrupted Pin
Nemanja Trifunovic13-Sep-02 11:56
Nemanja Trifunovic13-Sep-02 11:56 
QuestionAre there many perl gurus out here? Pin
brianwelsch13-Sep-02 9:26
brianwelsch13-Sep-02 9:26 
GeneralRestricting file access Pin
Not Active13-Sep-02 5:37
mentorNot Active13-Sep-02 5:37 
GeneralRe: Restricting file access Pin
Paul Watson13-Sep-02 6:07
sitebuilderPaul Watson13-Sep-02 6:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.