Enterprise Library 4.0 for Visual Studio 2008 released!

Friends, I am extremely excited to announce the release of the Enterprise Library 4.0 for Visual Studio 2008. Congratulations to the team!

Quick Links:

                 MSDN site: http://msdn.microsoft.com/entlib

                 Community Forum: http://go.microsoft.com/fwlink/?LinkID=119312

                 Community Extensions: http://codeplex.com/entlibcontrib


What is Enterprise Library?

Enterprise Library is a collection of reusable software components (application blocks) designed to assist software developers with common enterprise development challenges (such as logging, validation, caching, exception handling, and many others). Application blocks are a type of guidance encapsulating Microsoft recommended development practices; they are provided as source code plus documentation that can be used "as is," extended, or modified by developers to use on complex, enterprise-level line-of-business development projects.

Goals for Enterprise Library

Enterprise Library is a collection of application blocks intended for use by developers who build complex, enterprise-level applications. Enterprise Library is used when building applications that are typically to be deployed widely and to interoperate with other applications and systems. In addition, they generally have strict security, reliability, and performance requirements. The goals of Enterprise Library are the following:

Consistency. All Enterprise Library application blocks feature consistent design patterns and implementation approaches.

Extensibility. All application blocks include defined extensibility points that allow developers to customize the behavior of the application blocks by adding their own code.

Ease of use. Enterprise Library offers numerous usability improvements, including a graphical configuration tool, a simpler installation procedure, and clearer and more complete documentation and samples.

Integration. Enterprise Library application blocks are designed to work well together or individually.

What’s New in v4.0?

This release of Enterprise Library includes the following:

                 Integration with the Unity Application Block

                 Windows Management Instrumentation (WMI) 2.0 support and improved instrumentation

                 Performance improvements (particularly, in the Logging Application Block)

                 Pluggable Cache Managers

                 Visual Studio 2008 support

                 Bug fixes

Note: existing public APIs (v3.1) are still supported.

The Application Block Software Factory and the Strong Naming Guidance Package are not included in this release but are available as a separate download. Thus, there is no longer a dependency on Guidance Automation Extensions (GAX).

For the detailed list of all changes, see About This Release of Enterprise Library.

Enterprise Library by Numbers:


Year when the first application block was released


Year when v1 of Enterprise library was released.


Total number of downloads of Enterprise Library since the first release.


Total number of visits to the community site (since Dec 2006 when the Codeplex site was launched)


Number of discussion threads on the community site


NPS (Net Promoter Score)


Number of Enterprise Library releases (v1.0, v1.1, v2.0, v3.0, v3.1, v4.0)


Number of Application blocks in Enterprise Library 4.0


Number of weekly iterations to build Enterprise Library 4.0


Number of interim builds of Enterprise Library 4.0


Number of pages of documentation in V4.0


Number of automated tests cases in V4.0


Number of executable lines of code in V4.0


Getting Started

If you are new to the Enterprise Library:

       read the Introduction to the Enterprise Library;

       download, compile and run the QuickStart samples—study the code;

       read through the related QuickStart Walkthroughs and “Key Scenarios” sections of the documentation;

       practice the Hands-On Labs;

       join the webcast in June 2008 (the exact date will be announced on the Enterprise Library landing page).


If you already know and love the Enterprise Library:

       check out the change log for this release;

       upgrade to V4.0—no code change is required—simply update the references to the corresponding application block assemblies and to the common assemblies;

       download the updated QuickStarts and run through the Unity-integrated examples to get the flavor of new dependency injection style of using the Enterprise Library;

       join the webcast in June 2008 (I’ll announce the exact date later).


Happy Coding!

Information on Microsoft patterns & practices


     Visit us at http://msdn.microsoft.com/practices/ to see the full line of existing patterns & practices.



Comments (14)

  1. Grigori has announced that Enterprise Library 4.0 has shipped . You can get EntLib 4 here . I have been

  2. It’s almost exactly a year since I handed in the keys to the Enterprise Library bus, but I’m still as

  3. Ripamount says:

    Hi Grigori,

    in my current project we are just in the middle of an upgrade from ACA.NET to EL 3.1 (and also from .NET 1.0 to 2.0).

    We have built some automatic tool in order to convert DAL code from the old usage pattern to the EL 3.1 interface.

    We have also build an automatic "interface extractor" in order to enable Policy Injection between application layers and use Exception Handling/Logging policies.

    We have also build an architectural component in order to have standard logging approach through the application code base.

    We have planned to run our tools and made all the transformation late next week.

    Did you introduce breaking changes in Data Access, Exception Handling, Logging, Policy Injection Application Blocks?

    Do you think it’s "safe" to upgrade our references from EL 3.1 to EL 4.0?

    I’ve quickly read the documentation and just not found anything that should annoy me.

    We are also planning to propose dependency injection introduction in the next future. So i’m taking into consideration to directly upgrade to EL 4.0.

    Thank you,


  4. @Ripamount

    There are no breaking changes to the public API. That was one of the design goals of EL4. Just remember EL4 requires .NET3.5.


  5. The Enterprise Library 4.0 (May 2008) final release is now available to download . These are some of

  6. Enterprise Library 4.0 – May 2008 – RTM HURA ! RTM , see ? http://www.codeplex.com/entlib/Release/ProjectReleases

  7. Grigori Melnik Thoughts on Agile Software Engineering and Beyond Enterprise Library 4.0 for Visu (소식)

  8. Sam Gentile says:

    P&P/Design Patterns I have been in a customer situation where I have been using a combination of

  9. Guy Barrette says:

    Microsoft as released Enterprise Library 4.0. You can download it here: http://www.codeplex.com/entlib

  10. Gold Coast says:

    If you have not heard the announcement elsewhere, Enterprise Library 4.0 from patterns & practices

  11. If you have not heard the announcement elsewhere, Enterprise Library 4.0 from patterns & practices

  12. luislobo says:

    I’m new with .NET and wanted to give it a try to EL, and found out there is a new version. Does it work with VS 2005?

  13. @luislobo

    No, V4 only works with Visual Studio 2008 and .NET 3.5

    V3.1 is for Visual Studio 2005.

    — Grigori

  14. BrianLei says:



Skip to main content