Views: (1999) Watched: (5315)
In this episode we are going to take another look at Episode 96 (Dependency Inversion Principle) and add in the usage of StructureMap.
In the original episode Stephan kept the code simple and on point by showing how to do DI by hand. In this episode I am going to show you how to take that up a notch and use an IoC container to make life a little simpler
Views: (1961) Watched: (4825)
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.
Views: (2363) Watched: (5189)
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.
Views: (2765) Watched: (10077)
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