October 2010
Intermediate to advanced
1920 pages
73h 55m
English
If you want to output trace messages while a page executes, you can enable tracing for a particular page or an entire application. The ASP.NET Framework supports both page-level tracing and application-level tracing.
The page in Listing 1.21 illustrates how you can take advantage of page-level tracing.
Listing 1.21. PageTrace.aspx

The <%@ Page %> directive in Listing 1.21 includes a trace="true" attribute. This attribute enables tracing and causes a Trace Information section to be appended to the bottom of the page (see Figure 1.16).
Figure 1.16. Viewing page trace information.
Notice, furthermore, that the Page_Load() ...
Read now
Unlock full access