Dependency Injection in ASP.NET Web Pages Screencast Using Unity IoC

Patterns Practices ScreencastsDependency Injection and Inversion of Control are all the rage these days in the .NET Developer Community. I jumped on this band wagon quite awhile ago and have enjoyed the benefits of several dependency injection tools in my larger ASP.NET Web Applications.

Microsoft Patterns & Practices recently released their Unity Dependency Injection Tool as a standalone download as well as part of Enterprise Library 4.0. I have already put together several screencasts on Unity:

I just created another screencast that shows one way to implement Unity into your ASP.NET Web Applications to inject dependencies into your web pages. You can also download the code presented in the screencast.

I have another screencast that will show you another way without requiring a base page class. It uses a similar technique to the older versions of the Web Client Software Factory where you can hook into the PreRequestHandlerExecute. There are numerous ways to pull this functionality off.

I hope the screencast is useful.

 

posted on Friday, June 20, 2008 9:55 AM

Main

David Hayden Google +

David Hayden Twitter

Health & Fitness

JavaScript Patterns Book Review

HTML 5 and CSS3 - Develop with Tomorrow's Standards Today

Professional ASP.NET Design Patterns Book Review

Beginning Mac Programming Book Review

C# in Depth Book Review

ASP.NET MVC

Orchard CMS

Categories