Tracing helps understand which control uses more view state, start/end of PreInit etc. This type of information appears at the bottom of the page.
Tracing can be enable at Page level and Application Level
Page Level: You can add a Trace="true" in the page directive.
<%@ Page Language="C#" Trace="true" %>
Application Level: The user can enable Application level tracing in the Web.config file.
By doing this the user will get trace information for all pages in your application.
<configuration>
<system.web>
<trace enabled="true" />
</system.web>
</configuration>
Happy Tracing.
Tuesday, January 12, 2010
What is Tracing and how to enable it?
Subscribe to:
Post Comments (Atom)
0 Comments:
Post a Comment