Download
The release is available on MSDN. This includes the main installer, plus integrated documentation for Visual Studio 2005 and Visual Studio 2008. A Silverlight port is also available on MSDN.
What is Unity?
The Unity Application Block (Unity) is a lightweight, extensible dependency injection container. It facilitates building loosely coupled applications and provides developers with the following advantages:
- Simplified object creation, especially for hierarchical object structures and dependencies
- Abstraction of requirements; this allows developers to specify dependencies at run time or in configuration and simplify management of crosscutting concerns
- Increased flexibility by deferring component configuration to the container
- Service location capability; this allows clients to store or cache the container
- Instance and type interception (via an extension introduced in this release)
What’s New?
The Unity Application Block 1.2 release contains the following changes to the previous release (Unity 1.1 – May 2008):
- Added an interception mechanism (extension) and integration of the Policy Injection Application Block with the Unity Application Block.
- Added two instance interceptors (TransparentProxyInterceptor, InterfaceInterceptor) and one type interceptor (VirtualMethodInterceptor).
- Added support for generics.
- Added support for arrays.
- Registered names are now available as an ObjectBuilder policy so that you can do a ResolveAll from within the strategy chain. The container automatically registers itself with itself.
- Added PerThreadLifeTimeManager.
- Bug fixes.
- Performance improvements.
Getting Started
For an introduction to dependency injection, see the article Inversion of Control Containers and the Dependency Injection pattern by Martin Fowler. Two Quickstarts packaged with the release are also a good start. In addition, check out the Introduction to dependency injection with Unity webcast. We plan on recording another two videos on Unity Extensibility and on how to use the Interception extension and build your own custom call handlers. Happy Coding! Information on Microsoft patterns & practices
- Visit us at http://msdn.microsoft.com/practices/ to see the full line of existing patterns & practices.
|
I love it!
by
crodemeyer
on
Jan 15 2010 at 9:37 AM
This is excellent work
by
cleftheris
on
Oct 2 2009 at 4:54 PM
Good , wishing trying
by
ericpoon
on
Sep 28 2009 at 6:10 AM
Very nice!,good job.............................
by
bhtfg538
on
Jun 2 2009 at 9:28 AM
el codigo es pobre y faltan muchos ejemplos que ayuden a entender lo que se publica
by
santosbj
on
May 15 2009 at 11:28 AM
learn more and developer
by
magma
on
Feb 26 2009 at 1:21 PM
Its Magic !
by
mchouteau
on
Nov 30 2008 at 11:35 AM
Thanks a lot
by
GSerjo
on
Nov 3 2008 at 12:53 PM