IoC Episodes

# 150 Adding IoC Support to your WCF Services

10/3/2009

Level: Advanced

Author: Derik Whittaker

Tags: IoC WCF StructureMap

Views: (1325) Watched: (4756)

In this episode we are going to take a quick look at how to setup your WCF services to use an IoC Container.

When building out a set of services in WCF you still would like to follow the SOLID principles and in order to do this you may want to setup the ability to inject dependencies (via Structure Map) into your services at run time. With WCF extension points this is not only possible, but pretty easy

# 135 Exploring StructureMap: Learning how to setup profiles

8/13/2009

Level: Intermediate

Author: Derik Whittaker

Tags: IoC StructureMap

Views: (868) Watched: (2190)

In this episode we are going to continue our series were we are exploring some of the features of StructureMap 2.5.

In this episode we are going to take a look at how to setup profiles to allow the container to dynamicly determine which objects to inject.

--- Sponsor Information ---
ANTS Memory Profiler 5 out now. It’s a must have in your toolbox if you program in C# or VB.NET.
Download your free trial of ANTS Memory Profiler here.

# 132 Exploring StructureMap: Learning how to setup registries

8/4/2009

Level: Intermediate

Author: Derik Whittaker

Tags: IoC StructureMap

Views: (985) Watched: (1929)

In this episode we are going to continue our series were we are exploring some of the features of StructureMap 2.5.

In this episode we are going to take a look at how to setup and use the Registry feature of StructureMap. This is a feature that will allow the IoC container to scan for and find a method in a single class which will setup your mappings for the associated assembly.

--- Sponsor Information ---
ANTS Memory Profiler 5 out now. It’s a must have in your toolbox if you program in C# or VB.NET.
Download your free trial of ANTS Memory Profiler here.

# 128 Exploring StructureMap: Learning how to setup Auto Registration

7/21/2009

Level: Intermediate

Author: Derik Whittaker

Tags: IoC StructureMap

Views: (1279) Watched: (2076)

In this episode we are going to kickoff a new series were we will be exploring some of the features of StructureMap 2.5.

We are going to start off by looking at the simple use case and how to setup for Auto Registration. Auto Registration is where StructureMap can map your types for you, assuming you follow the standard convention where Foo implementes IFoo.

--- Sponsor Information ---
ANTS Memory Profiler 5 out now. It’s a must have in your toolbox if you program in C# or VB.NET.
Download your free trial of ANTS Memory Profiler here.

# 60 Setting up Castle Windsor for Auto Registration

11/4/2008

Level: Advanced

Author: Kyle Baley

Tags: Windsor Castle IoC

Views: (902) Watched: (2985)

In this episode you will learn how to create convention based auto registration for our dependencies.

We will walk you though all the needed steps in order to create your own convention scanner for Windsor. Having these convention scanners will allow you to not have to manually wire future dependencies as long as they follow this pattern.

# 48 Contextual binding with StructureMap

9/24/2008

Level: Advanced

Author: Derik Whittaker

Tags: IoC StructureMap

Views: (678) Watched: (2883)

In this episode we will walk you though how to do contextual binding with StructureMap 2.5.

What is Contextual Binding? Contextual Binding is the ability to switch out different concrete implementations of a service (i.e. class) at runtime depending on the context in which they are used.

# 44 Castle Windsor - Configuring your IoC Container

9/11/2008

Level: Beginner

Author: Donald Belcham

Tags: IoC Windsor Castle

Views: (720) Watched: (3081)

In this episode we take at how to Configure the Castle Windsor IoC Container. This is another part in a multi-part series were we will show you how to use and configure Windsor as your IoC Container.

The goal of this episode is to get you up to speed on the various ways you can configure Windsor for usage.

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

9/4/2008

Level: Beginner

Author: Derik Whittaker

Tags: MVC IoC StructureMap

Views: (758) Watched: (3666)

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.

# 41 Introduction to Castle Windsor - Getting Your IoC On

9/2/2008

Level: Beginner

Author: Donald Belcham

Tags: IoC Windsor Castle

Views: (566) Watched: (4001)

In this episode we take at how to use the Castle Windsor IoC Container. This is the first in a multi-part series were we will show you how to use and configure Windsor as your IoC Container.

The goal of this episode is to get you up to speed with what Windsor can do and how you can use it.

# 39 Getting Started with StructureMap -- Simple Setup Scenarios (v2.5)

8/26/2008

Level: Beginner

Author: Derik Whittaker

Tags: IoC StructureMap

Views: (726) Watched: (4851)

In this episode we take a look at how to setup and configure StructureMap for dependency injection.

We will review how to configure your dependencies 2 different ways. First we will review how to use StructureMaps configuration Files and then we will review how to use the built in DSL syntax for wiring.

# 38 Diving Deeper into Ninject -- Binding Lifetimes

8/21/2008

Level: Intermediate

Author: Justin Etheredge

Tags: IoC Ninject

Views: (664) Watched: (3758)

In this episode we take a deeper look into the Ninject IoC container.

We will review the various ways to set and determine a Types lifetime inside of Ninject. By the end of this episode you will be able to set your types lifetime to either Transient or Singleton.

# 33 Introduction to IoC/DI - The art of Decoupling

8/5/2008

Level: Beginner

Author: Donald Belcham

Tags: IoC Windsor Castle

Views: (790) Watched: (4528)

In this episode we will review what Inversion of Control (IoC)/Dependancy Injection (DI) is and why they are important.

This is the first in a series that is meant to teach you how to use the Windsor Castle IoC container.

# 30 Diving Deeper into Ninject -- Contextual Binding

7/30/2008

Level: Beginner

Author: Justin Etheredge

Tags: Ninject IoC

Views: (1007) Watched: (4135)

In this episode we will walk you through how to use the Ninject IoC (Inversion of Control) Container for contextual binding.

Contextual binding is the ability to register more than one binding (object or interface) for a given type. You can then at runtime determine which type you would like by asking for that type.

# 27 Introduction to the Ninject IoC Container

7/23/2008

Level: Beginner

Author: Justin Etheredge

Tags: Ninject IoC

Views: (1102) Watched: (8560)

In this episode we will walk you through how to use the Ninject IoC (Inversion of Control) Container. This episode will also review the basics of the Strategy Pattern as it is critical to IoC.

By the end of this episode you should have a basic understanding of how to use Ninject in your application