Microsoft Has Released Enterprise Library 5.0
Microsoft pattern&practices has released Enterprise Library 5.0, a set of application blocks that can be used as building blocks for enterprise applications, representing Microsoft’s guidance on how to write good applications. The library contains a number of improvements, includes Unity 2.0, and supports .NET 4.0.
Microsoft Enterprise Library 5.0 contains source code that could be used as building blocks for enterprise applications. The code can be used as provided or it can be changed or extended as needed. The main purpose of the library is to provide guidance for developers on how to write good software. The library was built using design patterns like Plug-in and Dependency Injection, the common functionality was encapsulated into the Enterprise Library Core, it uses uniform conventions for naming and versioning, all application blocks are instrumented and unit tests have been included from the initial design phase.
The Enterprise Library contains the following application blocks:
- Caching – provides local caching through in-memory or database storage
- Cryptography – provides support for encryption with multiple providers
- Data Access – provides support for the most used ADO.NET features like stored procedures, inline SQL statements, managing connections, caching parameters
- Exception Handling – offers a number of handlers to deal with most common exceptions: wrap, replace, logging, fault contract (WCF)
- Logging – helps with log message formatting and provides a variety of destinations: event, email, database, message queue, text file, WMI, custom
- Policy Injection – helps altering the behavior of objects based on cross-cutting concerns. It is built on Unity, a DI container.
- Security – helps developers deal with authorization and authentication issues
- Validation – provides support for validating input coming from other users or systems
- Unity Dependency Injection and Interception – it is a dependency injection container which was initially released independently (1.0) but it was enhanced and it is now included in this library
Some of the improvements of this version of the library over the previous one are:
- it was architecturally refactored for better testability and maintainability
- it contains Unity, a DI container which can be replaced with another that the user chooses
- supports programmatic configuration
- has asynchronous data access
- incorporates WPF validation mechanisms
- better logging performance
- supports .NET 4.0
The library can be used both on 32 and 64 bit machines but it has not been tested on Windows XP, XP not being mentioned in the list of supported operating systems. Nonetheless, Grigori Melnik does not see a reason why the library cannot be used on XP with .NET 3.5 or .NET 4.0.
Melnik also mentions that the pattern&practices team has tried to preserve compatibility with previous versions but there are some breaking changes.
A list of redundant and possibly will fail things of them
by
monser corp
Logging: enough competitors are already there and much better than this one
Unity: is really any one using it?
to be honest, a lot of things from ms are just like prince/princess. they are used only because they are under the big name. take away the name and put them in the wild, few will survive.
Re: A list of redundant and possibly will fail things of them
by
Dan Tines
Re: A list of redundant and possibly will fail things of them
by
Max Toro
I feel sad for people like you who hate MS just because they create products where other competitors/alternatives have been around for a while, and eventually MS takes a bigger market share just because they have a large customer base.
Re: A list of redundant and possibly will fail things of them
by
Kevin McFarlane
Re: A list of redundant and possibly will fail things of them
by
Paulo Pinto
Mediocrity technology can survive just fine - look at Java. Mediocre companies tend to die though - Sun.
If Java is a mediocre technology, why did Microsoft cloned it to make .Net?
Re: A list of redundant and possibly will fail things of them
by
Daniel Pashkov
Re: A list of redundant and possibly will fail things of them
by
Rodi de Boer
If Java is a mediocre technology, why did Microsoft cloned it to make .Net?
To make it better! :)
Windows XP
by
Rob von Nesselrode
Last time I checked, XP was still fairly popular. Nothing has come out since that makes extra money for me.
As for whether the blocks are useful - that shouldn' be based on commercial alternatives, more on what you can learn from the library itself. After all it is designed to be extended and the price appears to be right
Re: Windows XP
by
Grigori Melnik
The library doesn't. It's whether we can claim that it runs on XP without doing a test pass.
Since the release, we've conducted an additional test pass on Windows XP SP3 and added it to the list of OSs.
See
blogs.msdn.com/agile/archive/2010/04/28/enterpr...
- Grigori
Re: A list of redundant and possibly will fail things of them
by
David Louis
Re: A list of redundant and possibly will fail things of them
by
Timur Bobrus
Silverlight
by
Grigori Melnik
You are invited to preview the backlog and vote on the features.
Educational Content
Large-Scale Continuous Testing in the Cloud
John Penix May 24, 2013
Managing Build Jobs for Continuous Delivery
Martin Peston May 24, 2013
Clojure in the Field
Stuart Halloway May 23, 2013




Hello stranger!
You need to Register an InfoQ account or Login to post comments. But there's so much more behind being registered.Get the most out of the InfoQ experience.
Tell us what you think