what is diffrence between debug class and trace class in
asp.net ?
Answers were Sorted based on User's Feedback
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 |
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 |
Why Global.asax is used?
can s/w quality assurance engineer switch field to programming side i m very much interested in programming but not much good in it
How do you use css in asp.net?
They mostly asked difference between versions of technologies
Define secured sockets layer.
what are the types of ASP objects ?
How can we create Tree control in asp.net?
How do you create master pages in asp.net?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
how we can solve machine key error in asp.net?
How can we use Web API with ASP.NET Web Form?
Is it necessary to undertsand these events of an ASPX page execute. Explain its importantance?