Reading Trace Information

Whether you choose to view trace information appended at the end of an ASP.NET page or in the trace viewer, the information displayed is the same. ASP.NET organizes the trace information in a series of tables that provide diagnostic information about the request that you are viewing.

Trace information appears in the following order once you have enabled tracing for a page or application.

Request Details

Value Description
Session ID The session identification for the specified request.
Time of Request The time the request was made.
Request Encoding The character encoding for the request.
Request Type The HTTP method used. Can be GET or POST.
Status Code The status-code value associated with the response. For more information, see RFC 2616 about HTTP 1.1 at www.w3c.org.
Response Encoding The character encoding for the response.

Trace Information

Value Description
Category The custom trace category that you specified in a TraceContext.Warn or TraceContext.Write method call.
Message The custom trace message that you specified in a TraceContext.Warn or TraceContext.Write method.
From First (s) The time, in seconds, since the first message was displayed.
From Last (s) The time, in seconds, since the most recent message was displayed.

Control Tree

Value Description
Control ID The identification for the control. If you have not specified an ID property for the control, ASP.NET generates an ID using the UniqueID property.
Type The fully qualified type of the control.
Render Size bytes The size, in bytes, of the rendered control (including child controls). This is the size of the actual HTML, XML, or other format that is sent to the browser client.
Viewstate Size bytes The size, in bytes, of the control's view state (excluding child controls). For more information, see Web Forms State Management.

Cookies Collection

Value Description
Name The name of the cookie.
Value The value of the cookie, or subkeys/values if multivalued.
Size The size, in bytes, of the cookie.

Headers Collection

Value Description
Name The name of the header.
Value The value of the header.

Form Collection

Value Description
Name The name of the form variable.
Value The value of the form variable.

Server Variables

Value Description
Name The name of the server variable.
Value The value of the server variable.

See Also

ASP.NET Trace