Deploying Enterprise Library
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
|The latest Enterprise Library information can be found at the Enterprise Library site.|
The Enterprise Library Application Blocks are comprised of multiple assemblies. Each assembly that belongs to the Enterprise Library (excluding the Unity Application Block, which is a generic utility) has a file name that begins with Microsoft.Practices.EnterpriseLibrary. Additionally, the application blocks may depend on the Enterprise Library common assemblies. An application that uses one or more of the application blocks may have dependencies on other application blocks. For example, some applications that use the Caching Application Block also require the Data Access Application Block assemblies.
For information about the dependencies between the application blocks and the Enterprise Library Core, see Application Block Dependencies.
An application that uses the Enterprise Library application blocks can be deployed in one of two configurations:
- As private assemblies in the application folder hierarchy
- As shared assemblies in any file system location or in the global assembly cache
Specific deployment recommendations are included in the documentation for each application block. For more information, see the deployment topic for the individual application block. For general information about preparing and versioning Enterprise Library and using the global assembly cache, see Preparation and Versioning.
If you update any of the application blocks, or if you want to install an updated version of an assembly, you can install the new version and have all applications use the updated assembly. Alternatively, you can install the new version in the global assembly cache and configure some applications to use the updated version, while others continue to use the earlier version. For more details, see Updating Application Block Assemblies.
If you intend to run your application in partial trust environments, in particular using a customized ASP.NET Medium Trust mode, see Partial Trust Environments.