# 42 - Adding IoC Support (w/StructureMap) to ASP.Net MVC


9/4/2008
Level: Beginner
Tags: MVC IoC StructureMap
Author:
Derik Whittaker
 
Presented By:
DataDynamics.Com


In this episode we take a look at how to setup an ASP.Net MVC website to use IoC for creating its controllers. We will learn how to replace the default ControllerFactory with our own implementation.

Click here to Watch this Episode





Images/Screen Shots:


Setting up the Controller Factory
Setting up the Controller Factory

Overriding the default Controller Factory
Overriding the default Controller Factory