Copyright (c) 2007 Dorian Deng. Signature Sharing is not commercially available. Reprinted please indicate the source: http://www.cnblogs.com/doriandeng/archive/2007/09/29/911136.html
Enterprise Library 3.1 is a new release of Microsoft patterns & Practices Enterprise Library. Enterprise Library is an application.ProgramA collection of blocks. These reusable software components are designed to help developers solve common enterprise development challenges. This enterprise library release includes two new application blocks, one for creating application blocks and the other for providing programs, as well as new performance and enhancements.
Advantages
The Application Block helps developers solve common problems from a project to the next project. They are designed to encapsulate Microsoft-recommended best practices for. NET applications. It can also be quickly and easily added to. NET applications. For example, data access application blocks provide access to the most commonly used ADO. NET features and expose them through easy-to-use classes. In some cases, the application block is not directly supported by the basic class library.
Target
Enterprise Library is a collection of application blocks used by developers who create complex enterprise-level applications. These applications are usually widely deployed and dependent on other applications and systems. In addition, they usually have strict security, reliability, and performance requirements.
The goal of Enterprise Library is as follows:
-
Consistency
-
All application blocks have consistent design patterns and implementation methods.
-
Scalability
-
All application blocks define extension points that allow developers to add their ownCodeTo customize the behavior of application blocks.
-
Easy to use
-
The Enterprise Library provides many Usability Improvements, including graphical configuration tools, simple installation processes, and clear and complete documentation and examples.
-
Integration
-
The Enterprise Library is designed to work well together and tested to ensure that they can be done. Of course, you can also use the application block separately.
Reader requirements
This guide is intended for software architects and software developers. To get the most benefits from this guide, you need to understand the following knowledge:
System Requirements
To use Enterprise Library to develop applications, you need the following systems:
-
Microsoft Windows XP Professional, Windows Server 2003, or Windows Vista operating system
-
Microsoft. NET Framework 2.0 or 3.0. The following modules require. NET Framework 3.0:
-
application block software factory
-
verify the application block windows Communication Foundation (WCF) Adapter
-
Exception Handling application block windows Communication Foundation (WCF) exception protection
-
Microsoft Visual Studio 2005 Development System (Any of the following versions ):
Microsoft Visual Studio 2005 Standard Edition
Microsoft Visual Studio 2005 Professional Edition
Microsoft Visual Studio 2005 team edition software developers
Microsoft Visual Studio 2005 team edition for Software testers
Microsoft Visual Studio 2005 team edition for software release ts
Microsoft Visual Studio 2005 team suite
note that the Enterprise Library contains the unit test binary and Source Code , visual Studio 2005 team edition or one of nunit 2.2 is required to run the unit test. For instructions on how to use unit test, see unit test. If you modify the unit test source code, you need to re-compile the code. Similarly, you also need Visual Studio 2005 team edition or nunit 2.2.
Microsoft guidance automation extensions (Gax) is required to use the application block software factory and strong name guides ). To modify and compile these guidance packages, Microsoft guidance automation Toolkit (GAT) is required ).
-
To use data to access application blocks, you need a database server that runs a database supported by the. NET Framework 2.0 data provider. This includes SQL Server 2000 or updates, SQL Server 2005 compact edition, Oracle 9i, or updates. The database server can also run databases supported by the. NET Framework 2.0 data provider for ole db or ODBC.
Content of this release
Enterprise Library 3.1 contains the following content:
-
Binary
-
The Enterprise Library contains pre-compiled and strongly-named assembly of all source code. For more information, see use Enterprise Library binary.
-
Source code
-
The Enterprise Library contains the Application Block source code, guides, configuration tools, unit tests, and quick start.
-
Unit Test
-
The Enterprise Library contains the unit tests created during development of application blocks. For more information, see unit test.
-
Quick Start
-
Enterprise Library is a simple and easy-to-understand example of key application block features. Each application block includes one or more quick start points.
-
Document
-
The Enterprise Library contains documents that can be viewed by the Visual Studio help system. This document includes instructions on how to use the Enterprise Library and class library reference.
Upgrade from previous versions
generally, the program built for the Enterprise Library of. NET Framework 2.0 has the same function as the Enterprise Library 3.1 and does not need to modify any source code. You only need to change the reference to the new assembly and modify the configuration file to reference the correct assembly version. For more information about upgrading from an earlier Enterprise Library, see the additional guide for each application block document.