Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a web api? Which protocol is used in a web api?

1062


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

1012


How to display Alert in ASP.NET

1175


What are demand-paging and pre-paging?

995


Explain the concept of MVC Scaffolding?

1024


Explain about the .NET framework?

1064


How do I send an email message from my ASP.NET page?

958


Explain the difference between server.transfer and response.redirect? Why would I choose one over the other?

1022


Can we handle the error and redirect to some pages using web.config?

1640


What is the server of asp.net?

1073


What is %20 in a url?

909


What is custom events? How to create it?

1056


What are the ways of preserving data on a Web Form in ASP.NET?

1089


What are asp.net web forms?

1015


What are app services?

938