Tracing ASP.NET Applications
When you are developing ASP.NET applications, you have the ability to trace (or track) the state or progress of your application in real time. This is done through the Trace functionality of ASP.NET.
The usual way of doing this in Classic ASP applications was to include response.write() statements everywhere in your code. However, this technique has the following issues:
Performance impact— Due to more code in the web page, this means that the page takes longer to download.
Maintainability/Readability of code— Heavy use of the response.write() function in a web page’s code, which is not specific to the output of the application (debug stuff), can make the code very confusing to read initially and also to maintain. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access