How to use Fiddler to debug traffic from any app (eg. C#/WPF app).
Basically my WPF Application makes webrequests to a REST server that exists on another server.
I try and set up my proxy to communicate with Fiddler as follows.
HttpWebRequest req .. ... WebProxy proxy = new WebProxy("localhost.", proxy.BypassProxyOnLocal = true; req.Proxy = proxy;
Have tried "localhost" (No "." at the end), have tried "127.0.0.1" and other permutations.
I have tried the sugestions at
Get HTTP requests and responses made using HttpWebRequest/HttpWebResponse to show in Fiddler
and other similar posts and still cannot see any traffic.
Any further ideas on why I am not seeing traffic would be appreciated.
Thanks