Unity 1.2

Rating:        Based on 13 ratings
Reviewed:  9 reviews
Downloads: 43160
Released: Oct 28, 2008
Updated: Dec 14, 2008 by ctavares
Dev status: Stable Help Icon

Recommended Download

Source Code Unity 1.2 Source Code.zip
source code, 678K, uploaded Oct 28, 2008 - 21997 downloads

Other Available Downloads

Documentation Unity 1.2 Standalone Documentation.chm
documentation, 3842K, uploaded Oct 28, 2008 - 9551 downloads
Documentation Unity 1.2 Printable Documentation.pdf
documentation, 2171K, uploaded Oct 29, 2008 - 11612 downloads

Release Notes

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.

Reviews for this release

     
its a good effort
by virtualit786 on Mar 25, 2010 at 2:29 AM
     
I love it!
by crodemeyer on Jan 15, 2010 at 8:37 AM
     
This is excellent work
by cleftheris on Oct 2, 2009 at 3:54 PM
     
Good , wishing trying
by ericpoon on Sep 28, 2009 at 5:10 AM
     
Very nice!,good job.............................
by bhtfg538 on Jun 2, 2009 at 8: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 10:28 AM
     
learn more and developer
by magma on Feb 26, 2009 at 12:21 PM
     
Its Magic !
by mchouteau on Nov 30, 2008 at 10:35 AM
     
Thanks a lot
by GSerjo on Nov 3, 2008 at 11:53 AM