摘要: 一,下载并安装好Enterprise Library 4.1 二,新建一个Web应用程序 三,右键点击Web.Config 文件 使用 Edit Enterprise Library Configuration 可以编辑Web.Config,可以看到数据访问程序块是默认存在的。 可以新建连接字符串,可以新建指定更多的 我建立了两个字符串 和两个Custom Provider  分别是... 阅读全文
posted @ 2009-10-14 17:55 Sissynong 阅读(594) 评论(0) 推荐(1) 编辑
摘要: 一,下载并安装好Enterprise Library 4.1 二,新建一个Web应用程序 三,右键点击Web.Config 文件 使用 Edit Enterprise Library Configuration 可以编辑Web.Config,建立一个日志应用程序块 看到如下图的配置树 系统默认建立好一个Event Log 的Trace Listeners 名字为Formatted EventL... 阅读全文
posted @ 2009-10-14 17:13 Sissynong 阅读(449) 评论(1) 推荐(0) 编辑