difference between Trace and Debug ?
Answer Posted / rameez.s
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 ? | 6 Yes | 4 No |
Post New Answer View All Answers
In which event of the page life cycle, is the viewstate available?
Explain one critical mapping?
Describe how ASP.NET maintains process isolation for each Web application?
what are the events raised in asp.net page life cycle?in which stage view state can be loaded?
What is use of Master Page in ASP.NET web pages?
What is a session http?
How do you do Client-side validation in .Net?
Where do we store our connection string in asp.net application?
What is a server cookie?
What are the Types of session management in ASP.NET
What is sdlc process?
What is a swagger in web api?
where can i gather the materials for MCP certification
Define repository pattern in asp.net mvc? : asp.net mvc
1.how to encrpt query string in asp.net? 2.there are 10000 records then i wnat display 5000 records one gridview and 5000 records another grid view what is the process?