DCSIMG
Error Handling - new { Name = ”Shay Jacoby” }

new { Name = ”Shay Jacoby” }

Maximum separation, minimum Dependencies, No Injections.

Browse by Tags

All Tags » Error Handling (RSS)
Real world error hadnling in ASP.NET MVC RC2.
I would like to share with You my ASP.NET MVC Error Handling solution after reading this question in stackoverflow.com Goal: To catch every error that occures on server include HttpExeptions like 404 (Page not found). The ability to choose a specific View (error Template) for some errors and a generic View/Behaviour if nor specific has been specified. Scenario 1: anonymus user typed a wrong url. Actions: display a user friendly message like: "OOPS, The page is missing... back to home" Log...