2012年12月17日

[转]使用Microsoft Enterprise Library 5.0记录日志信息

摘要: 本文转自:http://www.cnblogs.com/hnsdwhl/archive/2010/12/01/1893532.html1.下载微软企业库Microsoft Enterprise Library 5.0,并进行安装。2.新建一个控制台或ASP.NET应用程序,在程序中添加要引用的dll文件,dll文件位于Microsoft Enterprise Library 5.0安装的目录。3.在调用相关的方法记录日志之前,需对配置文件进行配置,右键点击Web.config文件,选择Edit Enterprise Library V5 Configuration。4.选择Blocks菜单,点 阅读全文

posted @ 2012-12-17 15:21 freeliver54 阅读(932) 评论(0) 推荐(0)

导航