By default, ASP.NET Routing ignores requests for files that do not exist on disk. I explained the reason for this in a previous post on upcoming routing changes . Long story short, we didnââ?¬â?¢t want routing to attempt to route requests for static files such as images. Unfortunately, this caused us a headache when we remembered that many features of ASP.NET make requests for .axd files which do not exist on disk. To fix this, we included a new extension method on RouteCollection , IgnoreRoute , that creates a Route mapped to the StopRoutingHandler route handler (class that implements IRouteHandler ). Effectively, any request that matches an ââ?¬Å?ignore routeââ?¬Â will be ignored by routing and normal ASP.NET handling will occur based on existing http handler...(read more) ...
Go to the complete details ...