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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.