The Unity Container (Unity) is a lightweight, extensible dependency injection container with optional support for instance and type interception.
- Unity 2.0 – April 2010
- Unity Application Block 2.0 for Silverlight - April 2010
- Unity Application Block 1.2 – October 2008
- Unity Application Block 1.2 for Silverlight - December 2008
- Unity Application Block 1.1 - May 2008
The Unity Container (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
The Unity Application Block, like many patterns & practices deliverables, is associated with a community site. On this community site, you can post questions, provide feedback, or connect with other users for sharing ideas. Community members can also help Microsoft plan and test future releases of Unity, and download additional content such as extensions and training material.