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 |
Can we use multiple forms in single asp.net application?
if i wanna deploy my asp.net project to the production server and situation is that i m still not compiled my project i have as-is on my development side now on production server we dont have a visual studio now what kind of settings i need to be to do in webconfig /machine.config file to deploy my project and in iis too....
Write a code for passing ArrayList in Web API?
How can we call webservices in Banking Applications? and where we are using it?
How .Net has implemented security for web applications?
What for use web.sitemap in asp.net?
How do you do Client-side validation in .Net?
What is the use of service provider?
What is boxing and unboxing?
Explain Page life cycle
Define repository pattern in asp.net mvc? : asp.net mvc
What is active web pages?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)