ASP.NET MVC 3 Error and Exception Handling with 404 -



ASP.NET MVC 3 Error and Exception Handling with 404 -

what best way log exception , give user error code logged. along how 404 errors handled. have seen many solutions both not in way fits nicely mvc model. have illustration too? 404's there way 404 if user hasn't logged in app?

is elmah should used in production? there nuget bundle people suggest using?

yes, utilize elmah, create sure access log viewer controlled.

the bundle elmah.mvc, , create sure read these:

http://www.hanselman.com/blog/elmaherrorloggingmodulesandhandlersforaspnetandmvctoo.aspx http://dotnetdarren.wordpress.com/2010/07/27/logging-on-mvc-part-1/

asp.net-mvc-3 exception error-handling elmah

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -