Microsoft.NET Question:
Download Questions PDF

Is there built-in support for tracing/logging?


Basically there are two ways by which you can enable tracing.

i. page label ii.application label.

For page label tracing in the page directive write the following

<@page trace="True">

and if you want show some message then either wrire trace.write(message) or trace.warn(some warning message)

note that trace.warn will show the message in red color.

Download Microsoft.NET Interview Questions And Answers PDF

Previous QuestionNext Question
How to redirect tracing to a file?How to stop a thread?