Prefabricated in the Microsoft application blocks. Enterprise Library

The . NET Framework Class Library (FCL) is comprehensive and addresses many tasks, but is not always very precise. Microsoft has offered. NET 1.1 on another class library. Enterprise Library. The. Enterprise Library simplifies many functions and at the same time implementing the Pattern & Practices group at Microsoft has developed policy guidelines for the use of. NET technologies.

The. Enterprise Library is a source code in common class library, which specifies some features that are kept in the. NET class library is very general. Created the. Within the Enterprise Library Patterns & Practices group at Microsoft, which has the task of. NET developers to create appropriate policy guidelines for the use of. NET technologies. This group has created a number of so-called application blocks (Application Blocks) that simplify the application of certain parts of. NET class library and make it usable for the environment of enterprise application development. The application blocks show solutions to common development tasks in large, multi-layered, distributed applications.

Note: Since version 3.0 of the Enterprise Library are also obtained by Microsoft precompiled and compiled files digitally signed.


. The Enterprise Library version 4.0 is currently composed of the following application blocks:
– Caching Application Block: caching data in memory or in database s
– Configuration Application Block : reading and writing configuration data
– Data Access Application Block (DAAB): access to (relational) database s, simplification of ADO.NET
– Cryptography Application Block application from: Hash ing and encryption
– Exception Handling Application Block: Policy-based treatment of exception n
– Logging and Instrumentation Application Block : logging and application monitoring
– Security Application Block : authentication , authorization, roles, and profile data
– Validation Application Block : validation of data based on annotation s
– Application Block Software Factory : base implementation for creating custom application blocks or the extension of existing application blocks by new providers
– Policy Injection Application Block (PIAB): configuration-based insert code before and after the invocation of methods (business logic rules)
– Unity Application Block: container for dependency injection

In terms of architecture all blocks in common is that they are very much configurable at runtime. Settings for data access, security, caching , exception handling, etc. can be made in the XML-based application configuration files. All application blocks thus need as a basis the Configuration Application Block . There are as tere-dependencies between the blocks.


The. Enterprise Library was formerly under the Community-managed web server tet [GOT DOTNET 03]. She is now available on the source portal CodePlex [CODEPLEX01]. . The Enterprise Library exists in six different versions:
-.. Enterprise Library 1.0 for NET 1.x (January 2005)
-.. Enterprise Library 1.1 for NET 1.x (June 2005)
-.. Enterprise Library 2.0 for NET 2.0 (January 2006)
-.. Enterprise Library 3.0 for NET 2.0 and . NET 3.0 (April 2007)
-.. Enterprise Library 3.1 for NET 2.0 and . NET 3.0 (May 2007)
-. Enterprise Library 4.0 for . NET 3.5 (May 2008)


The installation package contains the source code of the various application blocks also documentation and usage examples and the application of “Enterprise Library Configuration”, which is used to create application configuration files.

Leave a Comment