I have download the Enterprise library 5.0 in my PC from microsoft. i installed it. now i want to use only logging application block with asp.net application. ao what steps i need to follow? Or do i n开发者_如何学JAVAeed to add reference of logging dll from installation location (programe files..\Enterprise Library 5.0) and directly use it ?
Look the these articles, they should answer your question.
- Get Logging with the Enterprise Library (this is one is a bit old)
- Logging via the Microsoft Enterprise Library
- How to use Logging Application Block in Enterprise Library 5.0
There are many steps to get it working, you have to add a configuration section to your web.config, you should check the enterprise library labs found here http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=6932, it is a walkthroughtfor configuring each of the enterprise library components
精彩评论