Visual Studio / .NET Framework

VSW16 DI Why? Getting A Grip on Dependency Injection


4:00pm - 5:15pm

Level: Introductory to Intermediate

Jeremy Clark

Developer Educator

What is Dependency Injection? Why would we want to use it? Those are the questions you'll have answered. 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 you can use the tools appropriately in your 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