CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

David Hayden [MVP C#]

         .NET Tutorials, Patterns, and Practices

New Unity IoC Screencast

Unity IoC ScreencastI 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.

 



Comments

Christopher Steen said:

Link Listing - March 18, 2008

# March 19, 2008 7:12 AM

Christopher Steen said:

AJAX ASP.NET AJAX callbacks to Web Methods in ASPX pages [Via: Frank Wang ] ASP.NET DotNetOpenId 0.1.2...

# March 19, 2008 7:12 AM
Check out Devlicio.us!

This Blog

Syndication

News

CodeBetter.Com Home