Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do you do Error handling (especially SQL) in an ASP.NET project right

I have a another ASP.Net web project that I am working and I have approached error handling from different angles. I was just wondering if any seasoned and experienced developers out there had any recommendations.

Bonus points for discussions on a nice logging framework for ASP.net:)

like image 659
uriDium Avatar asked Dec 02 '25 22:12

uriDium


1 Answers

I've used the ELMAH, (Error Logging Modules and Handlers) is an application-wide error logging facility that is completely pluggable, on several projects and it works great: http://code.google.com/p/elmah/

I've also used the built in Health Monitoring in ASP.NET 2.0: http://msdn.microsoft.com/en-us/library/ms998306.aspx

like image 105
Nathan Prather Avatar answered Dec 05 '25 12:12

Nathan Prather



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!