ASP.NET MVC – Control page not found exceptions with IgnoreRoute for known files


When our site was promoted to Production recently, we started getting exceptions for Page Not Found errors. The surprising aspect of these errors where the files like robots.txt, xmldata etc… I found a nice blog which explains the best possible routes to ignore while working with ASP.NET MVC. 

You can also take this list and add it to your list of ignored routes. Happy Coding!!!

Comments (0)

Skip to main content