In ASP.NET MVC, I need to route any error requests to my custom page, can I use this way?
routes.MapRoute(
"Default", // Route name
"{*pathInfo}",
new { controller = "Home", action = "NotFound" }
);
And, are there any better way to implement this?