Fiddler and Visual Studio built-in web server

There are some problems when using Fiddler with the Visual Studio built-in web server. By default Fiddler is only changing the proxy settings for http and https. The problem is that Visual Studio will start a web server on a random port address which will not be captured using Fiddler. To fix this you start Fiddler and modify the proxy settings in Internet Explorer (or any other web browser): set proxy to 127.0.0.1 and port 8888 for all protocols, not only http and https. This will allow you to use the one and only debugging proxy.
Published Thursday, May 18, 2006 9:29 AM by Michael Schwarz
Filed under: ,

Comments

# re: Fiddler and Visual Studio built-in web server

Thursday, May 18, 2006 8:41 AM by Tobias
That's a bit strange. I did not have to do this. For me Fiddler works great with both VS 2003 and VS 2005. I did have a problem with the ZoneAlarm firewall blocking Fiddler for a while, but once I figuered this out, Fiddler runs as a clock.

What version of Fiddler are you using? (1.1.6.3 should be the lastest one)

But wait a minute, perhaps you are using IE7? In that case you might have found another workaround to the "Why don't I see IE7 or System.NET traffic sent to http://localhost or http://127.0.0.1?" problem as listed in http://www.bayden.com/fiddler/help/hookup.asp

# Link Listing - May 21, 2006

Monday, May 22, 2006 1:26 AM by Christopher Steen
Atlas Control Toolkit and the DefaultValue
attribute [Via: Paul Glavich ]
BizTalk Server 2006 Tutorials...