.Net exception pool

I want to create mecanism in a large .net application to handle all exceptions in the application and save the error messages (in db or the log file) so that these errors can be fixed, and therefore we know about the problems in the application.

Does anyone know a good way to create a library to handle and handle all exceptions ?. Are there any tools around that can simplify my task. What approach would you suggest me to take ....

If you have previously implemented something similar to what I want to do, I want to hear from you

Thank you all

+3
source share
5 answers

Exceptioneer is a fantastic product.

There are several others:

http://logging.apache.org/log4net/

,

http://msdn.microsoft.com/en-us/library/dd139916.aspx

+2
+1

, , . Log4Net - .

try catch, CurrentDomain_UnhandledException Application_ThreadException,

+1

CodeSmith Insight. , . Fogbugz, . , , (, , , , ). , , , , .

API . WinForms, Silverlight, WPF, MVC ..

+1

, - .NET. , log4net, - , .

, . , , .

. , .

whats-the-best-way-to-implement-a-catch-all-exceptions-handler

how-to-catch-all-exceptions-crashes-in-a-net-app

fooobar.com/questions/12976/...

, , , . , .

I am not aware of a library or framework that combines all possible exceptions. I would be very interested to hear about this if anyone does.

0
source

Source: https://habr.com/ru/post/1713125/


All Articles