ASP.NET Exception Handling links

There are a few articles about ASP.NET Exception Handling that I want to bookmark.

User Friendly ASP.NET Exception Handling -very good library, in particular for logging Unhandled Exceptions in ASP.NET Web Services. Minor disadvantage is that it uses propriatory logging, not Enterprise Library Logging Block.

Take Exception To Critical Errors With Custom Application Blocks shows how to use Enterprise Library to build an error-reporting framework and post them to remote web server.

Article Rich Custom Error Handling with ASP.NET   describes how to pass Exception to Custom Error Pages  using one of state objects: Application, Context, Cookies, and QueryString.

 I didn't understand why article stated, that Response.Redirect()  can't use Session as storage basket?.  Later I found(see my post Passing Exception details in Session to Custom Error page. ) that it is possible. 

I've noticed that Exception has Data property to keep any custom key/value pair. However Data is not included in ToString, and overide is required if you want to trace/log it.(see also Giving Exceptions the Extra Info They Need with Exception.Data)

Links to many other articles can be found in the CodeIdol article "Exception Handling"  

Consider to use Exceptions Visualizers

 

posted @ Tuesday, June 26, 2007 3:47 PM
Print

Comments on this entry:

# re: ASP.NET Exception Handling links

Left by web development company at 8/18/2009 12:26 PM
Gravatar
That was an inspiring post,

They are all good and well writen article it's nice to have them all in one post

Thanks

Your comment:



(not displayed)

 
 
 
 
 

Live Comment Preview:

 
«October»
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678