Enterprise Library Exception Handling application blocks
Where can I find some good examples on 1) How to configure Enterprise Library Exception Handling application blocks and 2) How to Log an exception error messages to a text file
(I am using VS2008 asp.net3.5, C# to develop a web application and uses Enterprise library 4.1 for Exception Handling and Error logging )
Thank you all in a开发者_StackOverflow社区dvance
Take a look at the hands-on labs for Entlib 4.1. They include lots of examples on how to use the blocks, including the exception block.
As mentioned, The Hands on Labs are a good place to start. You could also take a look at the Quick Starts. When you install the source code you have the option of installing the Quick Starts. There is an ExceptionHandlingWithLoggingQuickStart project there that you would probably find useful.
精彩评论