An interesting bug ASP.NET MVC 3 bug bit us recently. While working to implement a login page on a client’s web app, we noticed our production code was routing to /Account/Login when we were expecting /Account/Logon based on our own configuration.
Sure enough, after hours of debugging, testing, and tweaking, we came upon the linked StackOverflow article that does a fantastic job of explaining the issue at hand. Take a look for yourself, and remember:
Don’t change the login route. Just don’t do it.