Jaa


New Release: Hands-on Labs for Unity 1.2

Hands-on Labs for Unity 1.2 are now available.

What is Unity
Unity is a lightweight, extensible dependency injection container with optional support for instance and type interception. 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 Unity Application Block 1.2—October 2008).

What's in this Release
Use this set of Hands-on Labs as a guide to learn about how to use Unity dependency injection container and how to leverage its capabilities in various application contexts (including ASP.NET).   It covers the following topics:

  • setting up the container
  • configuring injection through API and files
  • resolving generics and decorator chains
  • using array injection
  • integrating with ASP.NET
  • using child containers.

Comments