ASP.NET MVC routing and static data (ie. images, scripts, etc)
If I have a request for a resource in my ASP.NET MVC1 (or 2) web app for a static resource, say ... an image or a javascript file or a css file ... does the .NET framework try and see if the request matches the route list ... and eventually can't find a controller for it? eg. Resource: /Content/Images/Foo.png Does this request go through my route list .. fails to match any controllers / actions to this request and then attempt that path directly? Svetlozar Angelov You can choose whether to map an existing file or not setting the RouteCollection.RouteExistingFiles Property Gets or sets a value