I am new to ASP.NET and while learning Tracing i found that there are few resources available for the tracing for beginners which should cover important topics. Even i searched the code project but not able to get good start up tutorial so i decided to write the tutorial for beginners. Content Types of tracing
Writing Custom Trace Information
Page.Trace Vs System.Diagnostics.Trace
Integrate System.Diagnostics with ASPX Page (Routing all Trace information to web page)
trace.axd file
Creating Custom Trace Listeners
Saving Trace information in File
Types of tracing In ASP.NET there two types of TracingApplication Level
Page Level
Page level Tracing takes the precedence over the Application Level tracing. Lets start with creating new website.In web.config add following entries to enable Application level tracing below System.web element. <trace pageOutput="true"
Read more: Codeproject
Writing Custom Trace Information
Page.Trace Vs System.Diagnostics.Trace
Integrate System.Diagnostics with ASPX Page (Routing all Trace information to web page)
trace.axd file
Creating Custom Trace Listeners
Saving Trace information in File
Types of tracing In ASP.NET there two types of TracingApplication Level
Page Level
Page level Tracing takes the precedence over the Application Level tracing. Lets start with creating new website.In web.config add following entries to enable Application level tracing below System.web element. <trace pageOutput="true"
enabled="true"
requestLimit="10"
localOnly="false"
mostRecent="true"
traceMode="SortByTime"
/>
Read more: Codeproject
0 comments:
Post a Comment