1.

What is tracing in .NET?

Answer»

When we want to record the unusual activity during RUNTIME, .net takes the help of the trace by following the page EXECUTION path which displays the information at run time

There are 2 levels of tracing used in .NET

  1. Page Level Tracing
  2. Application level Tracing

Page Level Tracing: it is for managing the trace of the page whether it is enabled or disabled, if it is enabled then a page which is requested, it appends to the page a series of tables containing the details of page request during execution

In this there are 2 Trace Modes:

  • SortByCategory: In this, it SORT trace message according to the categories
  • SortByTime: In this, it SORTS the message according to the order in which they are processed.

Application Level tracing: In this, we can set the trace for the whole application at once instead of setting for INDIVIDUAL page, it is useful when we want to trace for the whole application instead of enabling and disabling for an individual page

We can trace the information according to the request limit we have to specify the default number is 10, as soon as it reaches the request limit it stops tracing.



Discussion

No Comment Found