Thursday, July 31, 2014

Putting an .IgnoreRoute in the RegisterRoutes method of the RouteConfig class in the RouteConfig.cs file in the App_Start folder in an ASP.NET MVC Web API application will indeed allow you disregard traffic that attempts to hit the route specified.

Obviously, the default is:

routes.IgnoreRoute("{resource}.axd/{*pathInfo}");

No comments:

Post a Comment