By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,110 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Good error handling design

P: n/a
GS
Hello,

I'd like to centralize error handling in my ASP.NET project. How exactly I
design classes so all expections will be handled by single error handler for
the whole project? Any simple code samples?
I like this approach since in that method I'd be able to define where errors
are written and how they are handled.
Thanks,
G
Jan 7 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Application_Error method in Global.asax is your best bet.

"GS" <no@no.com> wrote in message
news:es**************@TK2MSFTNGP10.phx.gbl...
Hello,

I'd like to centralize error handling in my ASP.NET project. How exactly I
design classes so all expections will be handled by single error handler for the whole project? Any simple code samples?
I like this approach since in that method I'd be able to define where errors are written and how they are handled.
Thanks,
G

Jan 8 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.