I would recommend using log4net. It allows you to use standard logging code 
and then in a config file you can decide how to store the log messages 
(including all of the ways you mention).

On 9/16/05, Manoj Aggarwal <[EMAIL PROTECTED]> wrote: 
> 
> Hi All,
> 
> I want to know the best way to handle exceptions and errors in .net.
> 
> My work involves ASP.Net and SQL Server 2000. I have searched google to 
> find
> out the ways to handle errors. I came up with following ideas.
> 
> 1. Using windows event manager.
> 2. Creating text files to log errors.
> 3. creating xml files to log errors.
> 4. Database for logging errors.
> 
> First of all I would like to know which is the best option to handle the
> errors. Other is if something other than this is possible that is good in
> performance then pls let me know.
> 
> Thanks,
> Aggarwal.
> 
> ===================================
> This list is hosted by DevelopMentor(r) http://www.develop.com
> 
> View archives and manage your subscription(s) at 
> http://discuss.develop.com
> 



-- 

Regards,

William D. Bartholomew
http://blog.bartholomew.id.au/

===================================
This list is hosted by DevelopMentorĀ®  http://www.develop.com

View archives and manage your subscription(s) at http://discuss.develop.com

Reply via email to