I have a custom action filter (AuthenticateAttribute) in my ASP.NET MVC 3 application that ensures that users are logged in.
In my app I\'m using \"HandleError\" whereby if an error happens, my \"Error.vbhtml\" view renders. This is working great, except now I want to also log the error.I\'ve built a custom HandleError Clas
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.Th
Since HandleError is inherited by the derived Controllers, why wouldn\'t I just create (or have) a base controller, and apply HandleError on it so that any controllers that inherits from the base cont
I have implemented errors handling in ASP.NET MVC site in a way like suggests this post. With 404 errors all works fine. But how correctly show user friendly screen for a 401 error? They usually do n
I have a [HandleError] attribute specified atop one of my controllers, specifying a View that I\'d like to render in the event of an error.