Handle “potentially dangerous Request.Form value…”
What’s the best way to handle errors such as
What’s the best way to handle errors such as
I have a general exception handler, Application_error in my global.asax where I’m trying to isolate all the uncaught exceptions on all my many pages. I don’t want to use Page_error to catch exception because it’s inefficient to call that on so many pages. So where in the exception can I find what page actually caused the exception?
I’m using Log4Net and logging everytime my ASP.NET-Application throws an error: