David Hayden [MVP C#]

Sponsors

The Lounge

Wicked Cool Jobs

News

  • CodeBetter.Com Home

Other Links

Teas

Patterns & Practices

Florida .NET Developer

Book Reviews

Tampa ASP.NET MVC Developer Group

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
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.


Posted Fri, Feb 22 2008 6:16 PM by David Hayden

[Advertisement]

Comments

Christopher Steen wrote Link Listing - February 22, 2008
on Sat, Feb 23 2008 12:31 AM

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

Christopher Steen wrote Link Listing - February 22, 2008
on Sat, Feb 23 2008 12:32 AM

Link Listing - February 22, 2008

Daily Bits - February 23, 2008 | Alvin Ashcraft's Daily Geek Bits wrote Daily Bits - February 23, 2008 | Alvin Ashcraft's Daily Geek Bits
on Sat, Feb 23 2008 12:09 PM

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

Weekly crumbs #9 - Service Endpoint wrote Weekly crumbs #9 - Service Endpoint
on Sun, Mar 2 2008 6:19 PM

Pingback from  Weekly crumbs #9 - Service Endpoint

http://jeffreypalermo.codebetter.com/blogs/david.hayden/archive/2008/02/22/unity-ioc-screencast.aspx wrote http://jeffreypalermo.codebetter.com/blogs/david.hayden/archive/2008/02/22/unity-ioc-screencast.aspx
on Fri, Mar 28 2008 5:54 AM
Guru Stop wrote Microsoft's IoC Container is no longer BETA - Please Welcome the Unity 1.0!
on Sat, Apr 5 2008 7:21 AM

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

Unity IoC Screencast [ CodeBetter ] wrote Unity IoC Screencast [ CodeBetter ]
on Sun, Jun 8 2008 2:29 PM

Pingback from  Unity IoC Screencast [ CodeBetter ]

Devlicio.us