ASP.NET MVC 2 IgnoreRoute in all directories
- by awex
Hi,
I switched from MVC 1 to MVC 2. I am using a file.axd httphandler in my application and I set routes.IgnoreRoute("{resource}.axd/{*pathInfo}"); in my global routing. Since MVC 2 MVC only ignores requests to /file.axd but not to /folder/file.axd.
Any changes in MVC 2?
I just want to make sure that all requests in any folder to any .axd file will get processed by my httphandler.
Thanks!