Anyone know the proper way to pass static files to the web bypassing MVC..ie
image files etc

 

I'm using MVC 4

 

I am using this but doesn't take into account sub-directories.

 

        routes.IgnoreRoute("{resource}.gif")   'Works /hello.gif
/images/hello.gif  doesn't work

        routes.IgnoreRoute("Content/{*pathInfo}")

 

 

Any help would be great..i assume I am missing a fundamental concept. 

 

 

 

Reply via email to