IOC with StructureMap : Presentation Materials

by brad 24. February 2010 13:40

For those that might be interested, here are the presentation materials from my talk at the St Louis .NET User’s group last night.  We talked about the need for managing our code dependencies, how to apply the dependency inversion principle, how to use dependency injection, and finally, how to use StructureMap to wire up our dependency injection for us.

A few key definitions from the talk

What is a dependency?  Any thing the code I’m working on needs to work that is not the code I’m working on.  Remember that dependencies may very well be your OTHER code sitting in the same project that you’re working in.

image

The dependency inversion principle tells us that high-level modules should not depend on low-level modules.  Rather, both should depend on abstractions.

image

One very effective way to pull this off is through the use of interfaces.

image

Materials

Tags: ,

Comments are closed

About Brad

Brad Tutterow lives in Illinois and works in Missouri. He has 12 years of experience developing web sites and Windows applications using a variety of technologies and is most excited currently about Silverlight, Windows Phone 7, Halo Reach, and Visual Studio 2010.