随笔分类 -  Enterprise Library

企业模式库(Enterprise Library)。
Enterprise Library:Unity的几个注意事项
摘要:背景在.Net平台中,几乎所有的Ioc容器在注册方面都不一致,使用Unity需要注意几个事项,咱们通过实验进行验证一下。验证的内容:集合的获取。生命周期管理。实验代码 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 using Microsoft.Practices.Unity; 8 9 namespace UnityStudy10 {11 class Program12 ... 阅读全文

posted @ 2013-08-03 12:21 幸福框架 阅读(395) 评论(0) 推荐(1) 编辑

Enterprise Library:Unity的几个注意事项
摘要:背景在.Net平台中,几乎所有的Ioc容器在注册方面都不一致,使用Unity需要注意几个事项,咱们通过实验进行验证一下。验证的内容:集合的获取。生命周期管理。实验代码 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 using Microsoft.Practices.Unity; 8 9 namespace UnityStudy10 {11 class Program12 ... 阅读全文

posted @ 2013-08-02 16:47 幸福框架 阅读(2706) 评论(1) 推荐(1) 编辑

Enterprise Library:日志处理步骤
摘要:An overview of the logging process and the objects in the Logging blockStageDescriptionCreating the Log EntryThe user creates aLogWriterinstance, uses it to create a newLogEntry, and passes it to the Logging block for processing. Alternatively, the user can create a newLogEntryexplicitly, populate i 阅读全文

posted @ 2013-02-25 10:08 幸福框架 阅读(574) 评论(0) 推荐(0) 编辑

Enterprise Library:日志的两种需求
摘要:Logging generally fulfills two main requirements: monitoring general application performance, and providing information. In terms of performance, logging allows you to monitor what's happening inside your application and, in some cases, what's happening in the world outside as well. For exam 阅读全文

posted @ 2013-02-24 09:55 幸福框架 阅读(375) 评论(0) 推荐(0) 编辑

导航

我要啦免费统计
点击右上角即可分享
微信分享提示