Development – Leet 4 Life

Software Development Code Samples and More

Skip to: Content | Sidebar | Footer

Tag: Logging

Global Exception Handling and Logging in ASP.NET or MVC

19 April, 2012 | ASP.NET, C#. NET | By: Michael Merrell

Global Error Handling and Logging is something that I feel no production ready application should be without. The last thing you want your end users to see is a server exception page when something drastically goes wrong. As with most coding practices this shouldn’t be a replacement for localized error handling but more of an addition to ensure that the end user’s experience is the best that it can be. To add Global Error handling and logging you need to go into the Global.asax.cs file in the root of your ASP.NET or MVC Application. If the Global.asax file does not [Read More…]