Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fiddler Not Capturing Traffic from my C# Application in Windows 8

Tags:

c#

.net

fiddler

I am having problems capturing traffic sent and received from my C# application.

The application is an ordinary WinForms application using C# 5.0 and .NET 4.5. .

Fiddler captures traffic from Chrome and Firefox with no issues, just not my application. I have also loaded another application that I developed, and that works fine.

It may be worth noting that this is the first application I've developed that uses HttpClient to make Http requests. Could that be causing any issues?

To be clear the Fiddler Application monitors the traffic. I am not connecting to localhost. I am connect to web API's.

like image 938
James Jeffery Avatar asked Aug 28 '13 08:08

James Jeffery


1 Answers

Step #1 is to try starting Fiddler before starting your application. This helps the default configuration, whereby .NET applications pick up the system proxy when they start and are oblivious to proxy changes after they start.

Step #2, if the first step doesn't work, is to explicitly configure your process to use the proxy by editing the app.exe.config file or the machine.config file, or by setting the Proxy property on the request object.

like image 94
EricLaw Avatar answered Sep 17 '22 18:09

EricLaw