EntLib 3.1学习笔记(0) : 总览-阿里云开发者社区

开发者社区> 安全> 正文

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

简介:


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

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之间的依赖关系:



3. Application block factories use of the Enterprise Library Core


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

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

分享:
+ 订阅

云安全开发者的大本营

其他文章