Visual Studio / .NET Framework

TH06 DI Why? Getting a Grip on Dependency Injection

05/19/2016

9:30am - 10:45am

Level: Introductory to Intermediate

Jeremy Clark

Consultant, Speaker & Mentor

JeremyBytes.com

What is Dependency Injection? And why would we want to use it? That's what you'll learn here. You'll start by looking at the problems caused by tight coupling. Then you'll use some DI patterns such as constructor injection and property injection to break that tight coupling. You'll see how loosely-coupled applications are easier to extend and test. With a better understanding of the basic patterns, you'll remove the magic behind DI containers so that we can use the tools appropriately in our code.

You will learn:

  • What Dependency Injection is
  • How loose coupling helps with extensibility and testability
  • How to use the constructor injection and property injection patterns in our code