ASP.NET Tracing

How to Enable Tracing when Developing in ASP.Net using Visual Studio

I did not know that tracing could be enable which is a very good feature when developing in ASP.NET. Tracing gives a developer a granular report on when the page was called and present all necessary data about the ASP.NET Server Variables a Developer would need to perform speed benchmarks on pages.

Solution:

To enable Tracing in ASP.Net web page simply enable Tracing = "true" on the page. When it comes to debugging, sometimes it can be cumbersome to enable Tracing on every page you want to debug, therefore, ASP.Net enable Developers to enable Tracing in a Web.Config file for debugging the whole application.

Do this, open the Web.Config file. Although it's very helpful to see the information about the page you can also add your own trace variable by using a Trace class in ASP.Net.
asp.net Core 3.1 asp.net mvc asp.net core errors asp.net web forms asp.net core tutorial Technology published

Buy Me Coffee


Was this page helpful?

Yes Yes! this solution to the problem was helpful. No No! this solution to the problem was not helpful..
Buy Me Coffee


Please Login to Continue

How to Draw Realistic Photos (E-Book)

How to Draw Realistic Photos (E-Book)

$1

Why Software Development Need Ethics to Succeed (E-Book)

Why Software Development Need Ethics to Succeed (E-Book)

$1

How to Make a Social Media Website in Easy Steps

How to Make a Social Media Website in Easy Steps

$1




© 2020 - ErnesTech - Privacy