且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

EntLib 3.1学习笔记(0) : 总览

更新时间:2022-09-02 23:33:23


(基本上都是从网上摘录的,做个笔记,供自己以后查阅)

http://msdn2.microsoft.com/en-us/library/aa480453.aspx
http://www.microsoft.com/china/MSDN/library/enterprisedevelopment/softwaredev/dnpag2entlib.mspx?mfr=true

1. Enterprise Library 3.1–May 2007 contains the following general purpose application blocks:

  • Caching Application Block. Developers can use this application block to incorporate a local cache in their applications. 缓存应用程序块。此应用程序块允许开发人员在其应用程序中集成本地缓存。
  • Cryptography Application Block. Developers can use this application block to incorporate hashing and symmetric encryption in their applications. 加密应用程序块。此应用程序块允许开发人员在其应用程序中包含加密和哈希功能。
  • Data Access Application Block. Developers can use this application block to incorporate standard database functionality in their applications. 数据访问应用程序块。此应用程序块允许开发人员在其应用程序中集成标准的数据库功能。
  • Exception Handling Application Block. Developers and policy makers can use this application block to create a consistent strategy for processing exceptions that occur throughout the architectural layers of enterprise applications. 异常处理应用程序块。此应用程序块允许开发人员和决策人员针对发生在企业应用程序体系结构层的异常处理创建一致的策略。
  • Logging Application Block. Developers can use this application block to include standard logging functionality in their applications. 日志和规范应用程序块。此应用程序块允许开发人员在其应用程序中集成标准的日志和规范功能。
  • Policy Injection Application Block. Developers can use this application block to implement interception policies that can be used to streamline the implementation of common features, such as logging, caching, exception handling, and validation, across an application.
  • Security Application Block. Developers can use this application block to incorporate authorization and security caching functionality in their applications. 安全应用程序块。此应用程序块允许开发人员在其应用程序中集成安全功能。应用程序可在多种情况下使用应用程序块,例如,根据数据库验证和授权用户、检索角色和配置文件信息,以及缓存用户配置文件信息等。
  • Validation Application Block. Developers can use this application block to create validation rules for business objects that can be used across different layers of their applications.


2. Block之间的依赖关系:
EntLib 3.1学习笔记(0) : 总览


3. Application block factories use of the Enterprise Library Core
EntLib 3.1学习笔记(0) : 总览


本文转自Silent Void博客园博客,原文链接:http://www.cnblogs.com/happyhippy/archive/2007/08/08/848271.html,如需转载请自行联系原作者