Capturing Traffic from .NET Services with Fiddler

Capturing Traffic from .NET Services with Fiddler

Have you ever wondered how to trace incoming request or response to server when working on emails via C#.NET program.

In General Fiddler is the free version tool available online, and one of the tools is 
Fiddler – Free Web Debugging Proxy – Telerik

1. Download Fiddler https://www.telerik.com/download/fiddler
2. To trace incoming from .Net project required to add .net settings in machine config file
3. Now the question is how to do ?
4. Open notepad as Run as Administrator 
5. Notepad File menu click on open and paste this code %WinDir%\Microsoft.NET\Framework\v2.0.50727\CONFIG
6.  Choose the file type as all files 
7. Look for machine.config file
8. Open it
9. Add the following lines after  tag and save 

Add the following XML block as a peer to the existing system.net element, replacing any existing default Proxy

element if present:
 

<defaultProxy
                enabled = “true”
                useDefaultCredentials = “true”>
<proxy autoDetect="false" bypassonlocal="false" proxyaddress="http://127.0.0.1:8888” usesystemdefault=”false” />

10. Now Start the Fiddler
11. Fiddler will capture all the requests from .Net 


Published by arjunpremier

Software Engineer, Blogger,

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Design a site like this with WordPress.com
Get started