A new article on the Microsoft ASP.NET Developer Center called Using HTTP Modules and Handlers to Create Pluggable ASP.NET Components. Read it here.
This is a great article as it talks about Error Logging Modules And Handlers ( ELMAH ).
From the article:
“ELMAH is an easy means to add error logging capabilities to an ASP.NET Web application. ELMAH illustrates how HTTP modules and handlers can be used to provide a high degree of componentization for code that is orthogonal to the Web application (such as application-wide logging). ELMAH is a truly pluggable solution, meaning that it can be dynamically added to a running ASP.NET Web application without any need for recompilation or redeployment.“ - Microsoft ASP.NET Developer Center
“ELMAH isn't designed to respond gracefully to unhandled exceptions. It simply records the details of unhandled exceptions. Once ELMAH has been added to an ASP.NET Web application, any unhandled exceptions raised in this application are logged. ELMAH doesn't affect the end user's experience when an unhandled exception occurs. They'll still see the "Server Error" page, or, if you have custom errors configured to handle HTTP 500 errors, they'll be redirected to a page with a more user-friendly message. But behind the scenes, ELMAH will have detected that an unhandled exception occurred and recorded the details.” - Microsoft ASP.NET Developer Center
I will be trying out ELMAH over the weekend in a new project.