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 and ASP.NET MVC Framework Screencast

Unity IoC and ASP.NET MVC FrameworkBased on several requests, I created a new screencast that shows one step-by-step how to add the Unity IoC Container from Microsoft Patterns & Practices to an ASP.NET MVC Web Application to create controllers and inject their dependencies.

Unity IoC - Dependency Injection in ASP.NET MVC Framework Screencast

You can also catch the first Unity Screencast that shows about a dozen common usages of Unity as well as briefly discusses the use of Unity using MVC and Model-View-Presenter:

Unity Dependency Injection IoC Screencast

 

Here are some links to sample code on Unity regarding what you see in the screencasts:

 

Hope this helps.

Dave


Published Apr 04 2008, 10:10 AM by David Hayden
Filed under:

Comments

Torkel said:

Nice cast, I prefer castle windsor. It is good that the ASP.NET MVC framework is not dependent on any one IoC container.

# April 4, 2008 12:28 PM

Chris Tavares said:

One minor nit at the beginning: If you install the block with the MSI, the Unity assemblies are available on the .NET tab. You don't need to browse for them.

-Chris

# April 4, 2008 6:54 PM

David Hayden said:

@Chris,

Good to know. I didn't realize that. I'm waiting for your webcast so I can pick up even more pointers, especially on extensibility :)

# April 4, 2008 9:11 PM

Christopher Steen said:

Link Listing - April 6, 2008

# April 6, 2008 11:55 PM

Christopher Steen said:

ASP.NET Client Side Templating with jQuery [Via: Rick Strahl ] WPF Unwanted Multiple ClientBin Sub...

# April 6, 2008 11:55 PM

indomitablehef.com » Blog Archive » Unity said:

Pingback from  indomitablehef.com  » Blog Archive   » Unity

# April 7, 2008 8:37 AM

Matthew Podwysocki's Blog said:

As Chris Tavares mentioned in his blog , Unity 1.0 has been released a couple of days earlier than the

# April 7, 2008 8:42 AM
Check out Devlicio.us!

This Blog

Syndication

News

CodeBetter.Com Home