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

Is asp.net free?

0 Answers  


On Age field how many Asp.Net validation controls will be suit?

7 Answers   NTTF Nettur Technical Training Foundation, Quest,


What property is used on the datatable to indicate a conflict after an update? a) HasConflict b) HasError c) HasCollision d) HasDataError

1 Answers   Syntax Softtech,


Why do you use the app_code folder in asp.net?

0 Answers  


Explain the different types of assemblies?

0 Answers  


From the given paragraph of text, write a program to match the strings of format “Any number of numerals followed by an underscore followed by any number of alphabets" ex:123_abc (Note:using regular expressions)

4 Answers   Microsoft,


When using the Pager object, inorder to know which page to go, which property you have to set to grid?

0 Answers   Siebel,


Name two properties common in every validation control?

1 Answers  


Why mvc is faster than asp.net? : Asp.Net MVC

0 Answers  


Explain about Application and Session Events ?

0 Answers  


What are the different web pages?

0 Answers  


What are server-side comments in ASP.NET?

0 Answers   Winsol Solutions,


Categories