Pluralsight Practical IoC With ASP.NET MVC 4

At first, Inversion of Control (IoC) is a difficult concept to understand. Even after understanding what IoC is, a developer must learn to apply the concepts of IoC and IoC containers to a real application in order to use it effectively. In this course, John will show you how to use the Unity IoC container in an ASP.NET MVC 4 application to use dependency injection on controllers, filters, views and more. You’ll start off by learning the basics of IoC containers, how they work and why they are important. As well as, learning about how internally ASP.NET MVC 4 creates controllers and views. In order to understand practically how dependency injection works (the core function of IoC containers)John will walk you through manually doing dependency injection in ASP.NET MVC 4 using your own custom controller factory. After you have done things manually, you’ll see how to add the Microsoft Unity IoC container to your MVC 4 application to do dependency injection automatically. Essentially you'll see how it is able to give us more flexibility and reduce the custom code we need to write. John then takes things even further by exploring some advanced dependency injection techniques using Unity to inject views and filters. He’ll also cover some of the advanced features of the Unity IoC container. Finally, you’ll take a tour through some other popular .NET IoC containers and see how to get them working in our ASP.NET MVC 4 application. After taking this course you will be equipped with the skills and knowledge you need to build real applications using Inversion of Control and dependency injection.

 
Download Pluralsight Practical IoC With ASP.NET MVC 4Introduction00:24:02
Introduction00:54
Who This Course is for?01:16
What This Course Covers.01:28
ASP.NET MVC Basics01:10
How Controllers Are Created01:18
How Views Are Created01:17
IoC Basics01:46
IoC Basics 201:53
Run Down of IoC Containers01:24
What About MEF?00:51
Creating The Project01:47
The Project04:39
Creating A Unit Test03:46
Up Next00:33
Download Pluralsight Practical IoC With ASP.NET MVC 4Doing It Yourself00:25:45
Introduction01:26
The Problem02:22
The Solution01:34
Looking at The Project02:07
Inverting The Control03:06
Broken Controller01:04
Controller Factories00:52
Creating A Custom Factory04:42
Registering The Factory01:48
Unit Tests03:41
More Problems02:20
Up Next00:43
Download Pluralsight Practical IoC With ASP.NET MVC 4Injecting With Unity00:18:14
Introduction00:50
Using IoC01:21
Plugging in Unity01:15
About Unity01:40
Getting Unity01:34
Setting Up Unity02:43
Registering The Types02:33
Using Convention05:26
Up Next00:52
Download Pluralsight Practical IoC With ASP.NET MVC 4Advanced Injection00:32:14
Introduction01:03
View Injection01:14
Creating The Base Page04:00
Injecting Into The View01:52
Filter Injection01:11
Creating The Filter04:10
Applying The Filter03:25
A Common Problem02:45
Using Injection Constructor02:27
Using Register Instance02:41
Named Registration03:08
Using Named Registration03:36
Up Next00:42
Download Pluralsight Practical IoC With ASP.NET MVC 4Using Other IoC Containers00:34:58
Introduction01:03
Ninject00:27
Cleaning Up01:27
Using Ninject05:30
Structure Map00:22
Using StructureMap02:59
Autofac00:26
Using Autofac05:40
Castle Windsor00:33
Using Windsor06:34
Simple Injector00:46
Using Simple Injector08:01
The End01:10