ASP.NET Tracing

Implement tracing: Display trace output.

Log test results: Control debugging in the Web.config file.

In addition to the Trace and Debug classes, ASP.NET supports one more method for tracing, which is specially designed for Web applications and Web services. This method of tracing is called ASP.NET tracing.

With the help of ASP.NET tracing, you can view trace messages and diagnostics information of a Web request along with the page output or through a separate trace viewer utility (trace.axd). You can write custom trace messages by using the System.Web.TraceContext class. The TraceContext class is responsible for gathering execution details of a Web request. You can access the TraceContext object for the current request through ...

Get MCAD/MCSD Training Guide (70-320): Developing XML Web Services and Server Components with Visual C#™ .NET and the Microsoft .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.