From the course: ASP.NET MVC: Building for Productivity and Maintainability

Unlock the full course today

Join today to access over 22,400 courses taught by industry experts or purchase this course individually.

Better error logging with ELMAH

Better error logging with ELMAH

From the course: ASP.NET MVC: Building for Productivity and Maintainability

Start my 1-month free trial

Better error logging with ELMAH

- [Instructor] I've designed this course to show you how to make what I consider, to be the cleanest and most maintainable ASP.NET MVC application possible. And for the most part, I'll do that all using features that come right in the framework without adding additional dependencies on third-party libraries, however in this video I'm going to break that rule just a little because I'm gonna show you how to begin using the ELMAH error logging framework, a simple yet powerful framework that allows you to quickly and easily add exception logging to your application. To begin taking advantage of the framework, simply add its NuGet package to the application by right clicking on the project and selecting manage NuGet packages. Switch to the browse tab and then search for ELMAH.MVC. That's E-L-M-A-H.MVC then select the first result that comes up, the one my Atif Aziz, and click install to add it to your project. And that's all you need to do. Just by adding this package, ELMAH has not only…

Contents