问题
Can any body give me code to impement ELMAH error handling for my asp.net mvc application..
I need to know step by step process to implemnt?
thanks
回答1:
I have used elmah with asp.net mvc 2.0.You would need to download the source from here, add the dll to your project and then change your web config to get elmah working it is explained well here. Also have a look at a similiar post to get more information or if you run into problems.
回答2:
Check out my blog series on logging in MVC. The first article covers getting Elmah set up and running for MVC and expands on what Hanselman does.
There is a link to downloadable code at the end of the article. Hope that helps.
http://dotnetdarren.wordpress.com/
来源:https://stackoverflow.com/questions/3301163/elmah-in-asp-net-mvc2