Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Software Architecture: Dependency Injection for C# Developers
Dependency Inversion Principle and Dependency Injection
Download Source Code
01-Outline (1:34)
02-Definition of DIP (3:30)
03-Dependencies (4:49)
04-Volatile and Stable Dependencies (2:53)
05-Definitions-IoC and DI (3:18)
06-DIP Violation Demo (2:47)
07-Refactoring to a Better Design (8:31)
08-Dependency Injection Techniques (7:09)
09-Architectural Implications (5:24)
10-Common Smells of DIP Violation (2:37)
11-Conclusion (2:03)
Introduction to IoC-Containers (or DI-Containers)
01-Outline (1:07)
02-Pure DI and IoC-Containers (5:01)
03-Building a Simple IoC Container (3:53)
04-ServiceLocator (2:54)
05-Demo with an IoC-Container (10:21)
06-Conclusion (1:17)
Dependency Injection - Related Anti-Patterns & Refactorings
01-Outline (1:54)
02-Control Freak (7:06)
03-Hidden Dependencies and Service Locator (4:41)
04-Temporal Coupling (1:47)
05-Constructor Over-Injection (4:05)
06-Ambient Context (3:53)
07-Facade Service (2:58)
08-Property Injection vs Bastard Injection (3:34)
09-Cyclic Dependencies (10:50)
10-Conclusion (2:35)
Dependency Injection: Real-World Example
01-Outline (1:13)
02-Application Overview (1:24)
03-Data Access and Models (2:00)
04-UI-Side (3:18)
05-The Problem of Tight Coupling (3:41)
06-Refactoring Process (10:30)
07-Isolating the Bootstrapper (4:20)
08-Consequences (1:54)
09-Conclusion (1:14)
Reaping the Fruits of DI
01-Outline (0:27)
02-Adding new DAL (8:58)
03-Writing Unit Tests for View Models (10:17)
04-Conclusion (0:45)
DI-Containers (IoC-Frameworks)
01-Outline (1:35)
02-Overview of DI-Containers. (3:46)
03-Unity (10:17)
04-Late Binding with Unity (5:30)
05-Aspect-Oriented Programming (3:49)
06-Demo of the Boilerplate Code Problem (4:08)
07-Implemeneting AOP by Interception (5:19)
08-Interception vs Pure DI vs AOP Tooling (2:40)
09-Autofac and Castle.Windsor DI-Containers (4:29)
10-Problems Related to DI-Containers (1:57)
11-Conclusion (0:57)
08-Consequences
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock