Tuesday, 13 May 2008

Unity Dependency Injection IoC Screencast

David Hayden presents here the new Unity Dependency Injection, which highlights:

UnityContainer Resolve and BuildUp Methods
UnityContainer RegisterType and RegisterInstance Methods
UnityConfigurationSection for Web.config and App.config
ASP.NET MVC Framework. ASP.NET Model View Presenter Pattern.

If you are currently using Dependency Injection this is a pretty good alternative, I do like the ability to define the Registration type for Singleton, resolve properties without the need to decorate them, and from the screencast I like both examples for MVC and MVP.

No comments: