ELMAH-Error Logging Modules And Handlers

Overview
[ELMAH通过配置HttpMoule和HttpHandler来记录WebApplication发生的异常,但对并不处理这些异常,只是记录,并且可以通过发送邮件的方式报告错误,从而方便的监视WebApplication的异常]

http://www.gotdotnet.com/workspaces/workspace.aspx?id=f18bab11-162c-4267-a46e-72438c38df6f

 

HTTP modules and handlers can be used in ASP.NET to provide a high degree of componentization for code that is orthogonal to a web application, enabling entire sets of functionalities to be developed, packaged and deployed as a single unit and independent of an application. ELMAH illustrates this approach by demonstration of an application-wide error logging that is completely pluggable. It can be dynamically added to a running ASP.NET web application, or even all ASP.NET web applications on a machine, without any need for re-compilation or re-deployment.

 

Using HTTP Modules and Handlers to Create Pluggable ASP.NET Components
[本文介绍的HttpModules和Handlers的基本工作原理及其配置,以及ELMAH具体使用方法和其整体程序框架]

其自身还配置一个异常错误记录查看功能,虚拟地址为domanname/elmah/default.aspx

 

posted @ 2004-11-17 16:13  cacard  阅读(1551)  评论(1编辑  收藏  举报