阅读背景:

使用ELMAH对WCF服务进行异常日志记录

来源:互联网 

We are using the excellent ELMAH to deal with unhandled exceptions in an ASP.NET 3.5 web application. This works extremely well for all of the site apart from WCF services which are being consumed using the REST features. When an exception occurs within the operation methods that is not handled by the application code, WCF handles it in various ways depending on the service contracts and configuration settings. This means that the exception does not end up firing the ASP.NET HttpApplication.Error event that to deal with u




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: