Views: (1589) Watched: (4945)
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: (1541) Watched: (4479)
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: (1966) Watched: (4824)
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: (2197) Watched: (9554)
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