what is diffrence between debug class and trace class in
asp.net ?
Answer Posted / naresh
Debug Class provides a set of methods and properties that
help debug your code. If you use methods in the Debug class
to print debugging information and check your logic with
assertions, you can make your code more robust without
impacting the performance and code size of your shipping
product. In Visual Studio 2005 projects, creating a debug
build enables Debug.
You can use the properties and methods in the Trace class to
instrument release builds. Instrumentation allows you to
monitor the health of your application running in real-life
settings. Tracing helps you isolate problems and fix them
without disturbing a running system.
In Visual Studio 2005 projects, Trace is enabled by default
for both release and debug builds, so code is generated for
all trace methods in both release and debug builds.
Therefore, you can use Trace to instrument release builds
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What are different types of authentication techniques that are used in connection strings to connect .net applications with microsoft sql server?
What is sql data source control in asp.net?
How to count the number of objects present in a web page? How to count the number of radio buttons in a web page?
How is a session stored and maintained in asp.net?
What is the difference between union and structure?
Define web services in asp.net.
What is razor? : asp.net mvc
Explain managed code an un-managed code.
What are the modes of updation in an updatepanel? What are triggers of an updatepanel?
What is client side state management?
Why SessionID changes in every request in asp.net?
What describes a query?
Can we make activex dll also ti execute in some process as that of client ? How can we do?
What are the features of asp net?
What does mvc represent in asp.net? : asp.net mvc