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

ViewError.GIF

 

转载于:https://www.cnblogs.com/caca/archive/2004/11/17/64824.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值