Configuration

To use tracing in your ASP.NET web application, you need to enable it. This can be done at either the page level or the application level.

Page-Level Configuration

Enabling tracing at the page level entails adding the Trace attribute to the @Page directive, like this:

<%@ Page Language="C#" Trace=="true" %%> 

If the Trace attribute has a value of true, tracing information will be displayed at the bottom of your ASP.NET page after the entire page has been rendered. Alternatively, you can include the TraceMode attribute. The value that ...

Get Debugging ASP.NET 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.