Log exceptions with Health Monitoring in ASP.NET MVC3

Out of the box, ASP.NET MVC3 applications have basic error handling. To see, let’s create an action that will deliberately throw an error. HomeController.cs: Now when we hit /Home/NoView (in our development environment), we get the YSOD because MVC raises an InvalidOperationException, as expected. In our production environment the error is automatically handled nicely and … Continue reading Log exceptions with Health Monitoring in ASP.NET MVC3