Monday, January 18, 2010

Fiddler and ASP.NET Development Server

ASP.NET development server only accept urls that starts with localhost. Therefor when your request comes from fiddler it become 127.0.0.1 and ASP.NET development server will reject it.
To enable fiddler to work open from menu TOOLS | Hosts and enter

127.0.0.1 localhost


Now, every address from 127.0.0.1 will become localhost just what ASP.NET development servers like :)