.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Ava Aiden
Imran Ghani
Thomas Shaw

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

ASP.NET Application - Tracing

Posted By: Bhavna     Posted Date: October 31, 2009    Points:2   Category :ASP.Net

We are working on an ASP.NET application and planned to use tracing.

Here I need few clarifications.

Is it the common practice that people use trace statements in .NET real time applications? If so could anyone please refer a document with standard way of writing these in real time web applications.

Many Thanks,


Author: Amit Mehra             
Posted Date: October 31, 2009     Points: 5   

Hi Bhavna,

Yes while debugging the asp.net application you should use Trace statement it will help you a lot in improving application and other issue (If Any).

But, While deployment the application you should remove the Trace statement by adding the this lines of code in your web.config file

<trace enabled="false" pageOutput="false"/>


Please "Mark As Answer " if this post help you.
Author: Bhavna             
Posted Date: November 03, 2009     Points: 5   

Hi Amit,
Thank you for your time and help.

Would you please refer a document with standard way of writing these Trace statements in a realtime web application.


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend