A Fiddler extension to inspect network traffic in an n-tier DevForce application.
DevForce sends compressed binary messages between the EntityManager and the EntityServer. You can use this extension to inspect these messages, to help when debugging your n-tier and Silverlight applications.
Internet Explorer and the .NET Framework are hardcoded not to send requests for Localhost through any proxies, and as a proxy, Fiddler will not receive such traffic.
Update: This behavior was changed for Internet Explorer 9. IE9 allows Fiddler to proxy traffic sent to localhost or 127.0.0.1 without additional steps on your part.
For non-browser based client applications, you'll need to use a workaround.
The simplest workaround is to use "localhost.fiddler" as the hostname. This also works when sending traffic to IIS Express, which by default will only listen for the "localhost" hostname. You can make this change in your app.config. For example:
C# | <objectServer remoteBaseURL="http://localhost.fiddler" serverPort="nnnn" serviceName="EntityService.svc"> <clientSettings isDistributed="true"/> </objectServer> |
If you're not using IIS Express, other workarounds are available too. See here for more information.
Note: You shouldn't ever encounter the "Localhost traffic not captured" problem with Firefox. The FiddlerHook add-on for Firefox removes "localhost" from the "bypass proxy" list when Fiddler is in "Capturing" mode.
Documentation for building custom extensions, like this one, can be found here. The source code for the DevForceFiddlerExtension is available for download from the link above. You can modify it to suit your needs.