skip to the main content area of this page
Patterns and Practices

New Unity IoC Screencast


Unity IoC Dependency Injection ScreencastI created a new Unity IoC Screencast based on a number of changes to the Unity API as well as a new release of the ASP.NET MVC Framework Preview 2. In addition to showing how to use Unity with ASP.NET Webforms Model-View-Presenter and the ASP.NET MVC Framework, the new Unity Screencast shows about a dozen common usages of Unity, 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 the UnityContainer via App.config / Web.config
  • Specifying Dependencies via Injection API as opposed to Dependency Attributes
  • Using Nested ( Parent-Child ) Unity Containers

Download the Unity IoC Screencast


Tags: DependencyInjection, EnterpriseLibrary4, IoC, Unity


Topics



Popular Tags



Recent Links