Is there any safe way to handle all exceptions in a .net website using c# and asp?
I read a lot from different webistes and what i found is to use one of those:
- AppDomain.CurrentDomain.UnhandledException Event
-
Application.ThreadException Event
But a lot of people are arguing how safe is to handle all exceptions together(out of memory,stackoverflow exception etc).
I would appreciate any kind of help!
have a look at postsharp http://www.sharpcrafters.com/solutions/exception