Mapping .css and image files through asp.net even with Integrated Pipeline
and asp.net MVC 3

I've got some complex routes setup in my asp.net mvc 3 project, unit tested
and working on development. For the most part they're working with IIS7 and
Integrated Pipeline and having mapAllRequests=true.

But I'm also doing some funky routing with 'some' of the requests for
images and css. I'm not sure if it's the logic or if it's IIS taking over
when it see's css or img files. I want IIS to take over if it finds the
static file otherwise send it to the mvc routing, and from what I read this
is how it should work?
Someone suggested 'routes.RouteExistingFiles = true' but this is not what
I'm looking for because:
-The files don't actually exist on disk (therefore should go through the
routes?)

-The routes are 100% the same as on the dev environment/in unit tests

Thanks in advance for your help.

Thanks

Reply via email to