Looking for Exception Handling and Logging to database Code c#

Topics: Exception Handling Application Block, Logging Application Block
May 25, 2010 at 7:51 PM

I am looking for good approach for using Enterprise Library 4.1 to catch/handle exceptions and logging to custom sql server database tables.

I would like to also store custom UI/business layer/data layer type information in addition to typical exception information.  What is the best way to accomplish this?  Does anyone have small project which demonstrates this?

thanks -dave

May 26, 2010 at 1:27 AM

You would create a custom trace listener for this.  We have a sample code for this, if you want a copy, just email us at entlib.support@avanade.com

 

Sarah Urmeneta
Global Technology and Solutions
Avanade, Inc.
entlib.support@avanade.com