ASP.NET MVC - How to throw a 404 page similar to that on StackOverflow
问题 I've currently got a BaseController class that inherits from System.Web.Mvc.Controller . On that class I have the HandleError Attribute that redirects users to the "500 - Oops, we screwed up" page. This is currently working as expected. THIS WORKS <HandleError()> _ Public Class BaseController : Inherits System.Web.Mvc.Controller ''# do stuff End Class I also have my 404 pages working on a Per-ActionResult basis which is again working as expected. THIS WORKS Function Details(ByVal id As