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

David Hayden [MVP C#]

         .NET Tutorials, Patterns, and Practices

Unity IoC Screencast

Unity IoC ScreencastI created a screencast on doing dependency injection and IoC using Unity from the Microsoft patterns & practices Team. This is an introductory screencast and shows how to use Unity with the ASP.NET MVC Framework and with ASP.NET Webforms using Model-View-Presenter. I show how to add services to the UnityContainer both programmatically and via configuration as well as one possible way to inject dependencies into both your controllers and presenter classes in your web applications.

You can view the screencast here:

The screencast is based on some blog posts with sample code that show how to do this:

If you haven't played with Unity yet, you can visit the CodePlex website and download it. Right now is a good time to "inject" your opinions on how it should work, etc.



Comments

Christopher Steen said:

ASP.NET Group Enabled Web Form Control Extensions [Via: andrewrea ] Sharepoint An easier way to Create...

# February 23, 2008 12:31 AM

Christopher Steen said:

Link Listing - February 22, 2008

# February 23, 2008 12:32 AM

Daily Bits - February 23, 2008 | Alvin Ashcraft's Daily Geek Bits said:

Pingback from  Daily Bits - February 23, 2008 | Alvin Ashcraft's Daily Geek Bits

# February 23, 2008 12:09 PM

Weekly crumbs #9 - Service Endpoint said:

Pingback from  Weekly crumbs #9 - Service Endpoint

# March 2, 2008 6:19 PM

Guru Stop said:

One Line Statement Microsoft's IoC container Unity, hosted on CodePlex as an Application Block for Enterprise

# April 5, 2008 7:21 AM

Unity IoC Screencast [ CodeBetter ] said:

Pingback from  Unity IoC Screencast [ CodeBetter ]

# June 8, 2008 2:29 PM
Check out Devlicio.us!

Our Sponsors

This Blog

Syndication

News

CodeBetter.Com Home