Capture outgoing asp net traffic from windows 10 with fiddler


ASP.NET is a popular programming language used for building web applications. It provides a for developing dynamic websites, web services, and web applications. One common requirement in web development is the ability to capture outgoing ASP.NET traffic from a Windows 10 machine using a tool like Fiddler. In this article, we will explore how to achieve this using Fiddler and provide examples to illustrate the process.

Step 1: Install Fiddler

The first step is to install Fiddler on your Windows 10 machine. Fiddler is a free web debugging proxy tool that allows you to capture and inspect HTTP traffic. You can download the version of Fiddler from the official and follow the installation instructions.

Step 2: Configure Fiddler

Once Fiddler is installed, you need to configure it to capture ASP.NET traffic. Launch Fiddler and go to the menu. Select the Options option to open the Fiddler Options dialog box. In the HTTPS tab, make sure the Capture HTTPS CONNECTs and HTTPS traffic options are enabled. This will allow Fiddler to capture both HTTP and HTTPS traffic.

Step 3: Start Capturing Traffic

With Fiddler configured, you can now start capturing ASP.NET traffic. Open your ASP.NET application in a web browser and perform the actions that the traffic you want to capture. Fiddler will automatically start capturing the traffic and display it in the Web Sessions list.

Step 4: Inspect Traffic

Once the traffic is captured, you can inspect it in Fiddler. The Web Sessions list will show all the captured requests and responses. You can click on a session to view its details, including the request and response , body, and timing information.

Example: Capturing ASP.NET Traffic

// Example code to capture ASP.NET traffic using Fiddler
public class HomeController : Controller
    public ActionResult ()
        // Perform some actions
        // ...

        return View();

In the above example, we have a simple ASP.NET controller action that returns a view. When this action is invoked, Fiddler can capture the outgoing traffic generated by the action. This includes the request made to the server and the response received.


Capturing outgoing ASP.NET traffic from a Windows 10 machine using Fiddler is a straightforward process. By the steps outlined in this article, you can easily configure Fiddler to capture ASP.NET traffic and inspect it for debugging or analysis purposes. Remember to install Fiddler, configure it correctly, start capturing traffic, and then inspect the captured traffic using the Fiddler interface. Happy debugging!

Rate this post

Leave a Reply

Your email address will not be published. Required fields are marked *

Table of Contents