ASP.NET Tutorial/Page Lifecycle/Trace
Версия от 15:30, 26 мая 2010; (обсуждение)
Tracing using Page.Trace
File: Web.config
<configuration>
<system.web>
<trace enabled="true" pageOutput="true" />
</system.web>
</configuration>
C#
protected void Page_Load(object sender, EventArgs e)
{
Trace.Write("This message is from the START of the Page_Load method!");
}