use HttpFiddler with ASP.NET development Server and IE7

HttpFiddler is a free HTTP debugging proxy and essential for daily asp.net developers work. It works as a proxy and change this settings in IE7 to forward request to fiddler. IE7 does not forward calls made to url contains localhost.

Workaround: make the call to the machine name in IE7. Fix the port in the setting of the Web projekt to a dedicated like 1000. So the call is now http://name:10000/....

The ASP.NET development server does only accept requests to localhost (hardcoded). So add a rule to fiddler which change the name like:

if (oSession.host=="name:10000"){
oSession.host="127.0.0.1:10000";
}
  

this snippet must be placed in function: OnBeforeRequest

Published Thursday, December 28, 2006 12:02 PM by preishuber
Filed under: ,

Comments

# re: use HttpFiddler with ASP.NET development Server and IE7

Monday, April 6, 2009 3:39 PM by Etienne

Cyril's "dot" trick does not work since the developpement server will refuse any connections to anything other than the exact localhost syntax. (ie. localhost:1234)

An easier approch would be to use this rule in "OnBeforeRequest":

oSession.host = oSession.host.replace("everslo","127.0.0.1");

That way, you dont have to hardcode the port or change project settings

# re: use HttpFiddler with ASP.NET development Server and IE7

Wednesday, March 28, 2012 7:45 AM by Diana

And how does that mean? I do not understand anything.

Leave a Comment

(required) 
(required) 
(optional)
(required)