且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我如何记录未处理的ASP.NET MVC异常?

更新时间:2023-02-15 12:52:11

我刚刚发现这对斯科特Hanselman的博客here所谓 ELMAH 这是一个错误记录器/处理器,您可以使用,而无需改变你的code。你可能想看看它,因为它似乎与MVC很好地工作。

I just found this on Scott Hanselman's blog here called ELMAH which is an Error Logger/Handler that you can use without having to change your code. You might want to look into it, since it seems to work nicely with MVC.