The Enterprise Library Application

原创 2009年08月15日 09:42:00

The Enterprise Library application blocks help to address the common problems that developers face from one project to the next. They are designed to encapsulate the Microsoft recommended best practices for .NET applications. In addition, they can be added to .NET applications quickly and easily. For example, the Data Access Application Block provides access to the most frequently used features of ADO.NET 2.0 in simple-to-use classes, thus boosting developer productivity. It also addresses scenarios not directly supported by the underlying class libraries. 

 

Different applications have different requirements and you will not find that every application block is useful in every application that you build. Before using an application block, you should have a good understanding of your application requirements and of the scenarios that the application block is designed to address.

 

This release of Enterprise Library contains the following application blocks:

 

      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.


  The Policy Injection Application Block. Developers can use this application block to implement interception policies that 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. 


  Unity Application Block. Developers can use this application block to implement a lightweight, extensible dependency injection container with support for constructor, property, and method call injection.


  The 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. 


  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.

 

The Enterprise Library also includes a set of core functions, including configuration and instrumentation. All other application blocks use these functions. 

相关文章推荐

C#日志扩展包之Microsoft Enterprise Library - Logging Application Block之配置

配置Logging Application Block可以使用两种方法:1、使用app.config文件配置,xml编辑器或Enterprise Library Configuration Tool;...

WCF后续之旅(8):通过WCF Extension 实现与MS Enterprise Library Policy Injection Application Block 的集成

WCF后续之旅(8):通过WCF Extension 实现与MS Enterprise Library Policy Injection Application Block 的集成 ...
  • cpcpc
  • cpcpc
  • 2011年01月18日 09:06
  • 496

Microsoft Enterprise Library 5.0 系列(五) Data Access Application Block

企业库数据库访问模块通过抽象工厂模式,允许用户通过简单的配置选择不同的数据库作为程序的数据源,大大解决了切换数据库时带来的麻烦.因为我本机只安装了SQL Server 2005,所以在此只做SQL的演...

Microsoft Enterprise Library 5.0 系列(七) Exception Handling Application Block

使用企业库异常处理应用程序模块的优势: 它支持整个应用程序体系结构层的异常处理,而不仅限于服务接口的界限。 它使得异常处理策略可以在管理层定义和维护,以便决策人员(可能是系统管理员和开发人员)可...
  • anyqu
  • anyqu
  • 2012年09月11日 13:50
  • 1404

Microsoft Enterprise Library 5.0 系列(四) Logging Application Block

企业库日志应用程序模块工作原理图:      从上图我们可以看清楚企业库日志应用程序模块的工作原理,其中LogFilter,Trace Source,Trace Listener,Log...
  • anyqu
  • anyqu
  • 2012年09月11日 13:46
  • 1035

Microsoft Enterprise Library 5.0 系列(二) Cryptography Application Block (高级)

本章介绍的是企业库加密应用程序模块Cryptographyproviders中为对称加密配置Key文件的3种方式: create a new key  : 使用一串字符串作为Key,然后通过加密...
  • anyqu
  • anyqu
  • 2012年09月11日 13:35
  • 609

Microsoft Enterprise Library 5.0 系列(一) Caching Application Block (高级)

Caching Application Block 的基本架构如下所示,图中很清楚的写出了Cache Manager可以使用3中方式对数据进行缓存: 1. Null backing store 存储...
  • anyqu
  • anyqu
  • 2012年09月11日 13:27
  • 642

Microsoft Enterprise Library 5.0 系列(三) Validation Application Block (初级)

企业库提供了一个很强大的验证应用程序模块,特点是: 可以通过配置为你的程序中特定的类来定义规则集.是为你的类的公有属性,即对外开放的属性进行验证的. 使用企业库验证应用程序模块的优势: ...
  • anyqu
  • anyqu
  • 2012年09月11日 13:43
  • 733

Microsoft Enterprise Library 企业库5.0----Cryptography Application Block (高级)

本章介绍的是企业库加密应用程序模块Cryptographyproviders中为对称加密配置Key文件的3种方式: create a new key  : 使用一串字符串作为Key,然后通过加密保存...

Microsoft Enterprise Library 5.0 系列(一) : Caching Application Block (初级)

本篇文章具体官方解释请参照以下链接: http://msdn.microsoft.com/en-us/library/ff664753%28v=PandP.50%29.aspx Microsof...
  • anyqu
  • anyqu
  • 2012年09月11日 13:25
  • 1046
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:The Enterprise Library Application
举报原因:
原因补充:

(最多只允许输入30个字)