Question about ASP.NET MVC and static data (ie. images, scripts, etc)
Posted
by Pure.Krome
on Stack Overflow
See other posts from Stack Overflow
or by Pure.Krome
Published on 2010-04-21T08:50:28Z
Indexed on
2010/04/21
8:53 UTC
Read the original article
Hit count: 196
Hi folks,
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 .. i donno ... attempt that path directly?
© Stack Overflow or respective owner