What are the different Types of Tracing in ASP.NET ?

The different types of tracing options for debugging an ASP.NET application are

  1. Application-Level Tracing and
  2. Page-Level Tracing

Ok. When would you use one Vs the other and Why ?

Setting application-level tracing is useful because you don’t have to make changes to individual pages to enable and disable tracing. So I would use it in a scenario where I have to debug multiple pages in a very short time, for example, in a production troubleshooting scenario.

Page-level tracing, on the other hand is something I would use to debug single pages during development.

, , {0}

Leave a Reply