Right after the release of Enterprise Library 4.0 ( Download Enterprise Library 4.0 ) the Microsoft Patterns & Practices Team announces the release of Unity 1.1, their lightweight and extensible Dependency Injection Container.
This new maintenance release of Unity was expected, because several bugs were found in Unity 1.0 just after its release. Unity 1.1 has the following changes:
- Removal of all obsolete ObjectBuilder code.
- Fix for a bug when using lifetime managers with open generic types.
- Fix for a bug where the RegisterType method was overriding the RegisterInstance method.
- Performance improvement when resolving singletons.
- Exposure of some additional internal classes as public to make it easier write extensions that need to resolve dependencies in a customized way.
- Addition of try...catch blocks to improve the error messages returned when value resolution fails.
Congrats to Chris Tavaras for all his hard work in getting Unity 1.0 and Unity 1.1 out-the-door. The beautiful thing is now Unity will also work with Enterprise Library 4.0, which means we can have 1 configuration mechanism for all our applications.
You can download Unity 1.1 here.
Unity Screencasts
Check out the other Unity Tutorials and Samples