So, I have the following in my global.asax creating my MVC routes. They are called in the order that they appear below. What I expected to have happen was it would ignore the routes to the css folder,
The default ASP.NET MVC 3 project template contains the following IgnoreRoute directive:开发者_JS百科
I can\'t exclude non-existing files from the routing system. I am dealing with this code in a Web Forms scenario:
I am trying to access a .js file in the views directory. I have an MVC application with /Views/Home/MyControl.ascx
I\'d like to block requests to any .php or .cgi regardless of the pathing information. For example, when the following url is used: