what is diffrence between debug class and trace class in
asp.net ?

Answers were Sorted based on User's Feedback



what is diffrence between debug class and trace class in asp.net ?..

Answer / suresh

Debug class is used for debug builds.
Trace class is used for both debug and release builds.

Is This Answer Correct ?    2 Yes 0 No

what is diffrence between debug class and trace class in asp.net ?..

Answer / 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

More ASP.NET Interview Questions

How do you a replicate a set of controls across a number of ASP Pages

2 Answers  


what are the oops concepts are used in your project?

1 Answers   AppShark, IBM, Kotak,


Where would you use an ihttpmodule, and what are the limitations if any?

0 Answers  


Where is cookie used in asp.net?

0 Answers  


What is difference between ispostback and autopostback in asp net?

0 Answers  






To call a Web service SOAP which transport protocol you use?

3 Answers   Siebel,


How to identify host of my system? How to identify servername of my system? How to identify domainname of my system?

2 Answers  


Define dll hell?

0 Answers  


How to deploy/publish webservices?How many ways?Plz explain me

0 Answers   TCS,


What is the Difference between Web.config and global.asax? Can we write connection String code in global.asax?

10 Answers   Microsystems,


What is OSI layer? Explain different layers.

0 Answers   MCN Solutions,


How do you use css in asp.net?

8 Answers   iBridge,


Categories