DEV Community

Cover image for Enable Tracing for ASP.NET Apps in Windows 11 – Quick way
Vigneshwaran Vijayakumar for Winsides

Posted on • Originally published at winsides.com on

Enable Tracing for ASP.NET Apps in Windows 11 – Quick way

Tracing in ASP.NET applications and failed request tracing in Windows 11 are diagnostic tools used to help identify and resolve performance or functional issues in web applications and their hosting environments. It helps in monitoring and troubleshooting web applications by logging detailed information about the requests processed by the application. It can track request timing , error details , and performance metrics and the data collected includes HTTP request details , session data , authentication information , etc. This article will guide you through the steps of How to Enable Tracing for ASP.NET Apps in Windows 11. Let’s get started.

Route Map for Tracing for ASP.NET Applications and failed Requests in Windows 11

Tracing for ASP.NET Apps and failed request route map
Tracing for ASP.NET Apps and failed request route map

  • You can use the Run command to open the Windows Features. Use Win Key + R to open the Run command and then run the following command. appwiz.cpl

Open Programs and Features using appwiz.cpl
Open Programs and Features using appwiz.cpl

  • The Programs and Features window will open now. On the left pane, you can find Turn Windows Features on or off option. Click on that.

Turn Windows Features on or off
Turn Windows Features on or off

  • Now, the Windows Features dialog will open. Here, you can find all the available optional features.
  • Find the Internet Information Services from the list of services available and expand it.

Expand IIS Node
Expand IIS Node

  • You will find FTP Server, Web Management Tools, and World Wide Web Services. All of these features are related to the IIS. We have to expand the World Wide Web Services.

Expand World Wide Web Services
Expand World Wide Web Services

  • You will find various features such as Application Development Features, Common HTTP Features, Health and Diagnostics, etc. Expand Health and Diagnostics.

Expand Health and Diagnostics Tree
Expand Health and Diagnostics Tree

  • Here, You can find the option Tracing , preferably at the last in the list. Enable it.

Enable Tracing for ASP.NET Apps
Enable Tracing for ASP.NET Apps

  • Windows will now start searching for the required files.

Searching for the required files
Searching for the required files

  • Then the system will apply the changes.

Applying Changes
Applying Changes

  • You will be prompted to do a restart. Click on Restart now. We highly recommend doing the restart right away so that the changes made will be reflected in the system.

Restart the PC
Restart the PC

That is it. Tracing for ASP.NET Applications and failed requests is now enabled on your Windows 11 PC.

Take away

This diagnostic approach helps developers and administrators identify, understand, and resolve issues in web applications and server environments. Tracing for ASP.NET Applications and failed requests in Windows 11 provides a robust toolkit for troubleshooting , optimizing , and maintaining reliable web applications that are running on the IIS Server. If you have any queries , kindly let us know in the comment section , and for more interesting articles, stay tuned to winsides.com. Happy Coding! Peace out!

Like our Article

Kindly give us a review. We love you hear from you!

Top comments (0)