I created a new Unity IoC Screencast due to a number of recent changes to the Unity API as well as a new release of the ASP.NET MVC Framework Preview 2 that changed the IControllerFactory Interface.
In addition to showing how to use Unity with ASP.NET Webforms Model-View-Presenter as well as the ASP.NET MVC Framework, the new screencast shows a dozen or so common usages of Unity in your applications, including:
- Creating Types Not In Container
- Registering and Resolving TypeMappings
- Registering and Resolving Named TypeMappings
- Singletons, LifetimeManagers, and the ContainerControlledLifetimeManager
- Registering Existing Instances
- Injecting Dependencies into Existing Instances
- Populating UnityContainer via App.config / Web.config
- Specifying Dependencies via Injection API as opposed to Dependency Attributes
- Using Nested ( Parent-Child ) Containers
Hope this helps.
Download the Unity IoC Screencast.