Getting Started with Dependency Injection in .NET

Dependency injection helps us write better code. But when you don't understand the why and how, it can be baffling. This course gives you a good foundation of the concepts and patterns so you can start writing code that is easy to change and test.
Course info
Rating
(18)
Level
Intermediate
Updated
Mar 5, 2019
Duration
2h 8m
Table of contents
Course Overview
What Is Tight Coupling and How Does It Impact Your Applications?
Using Dependency Injection to Build Loosely-coupled Applications
Taking Advantage of Loose Coupling
How Dependency Injection Makes Unit Testing Easier
Dependency Injection Containers
Description
Course info
Rating
(18)
Level
Intermediate
Updated
Mar 5, 2019
Duration
2h 8m
Description

Tight coupling makes our code hard to change and test. In this course, "Getting Started with Dependency Injection in .NET", you will learn the foundational knowledge to break tight coupling with Dependency Injection. First, you will learn how to use constructor injection to create loosely-coupled code. Next, you will see how to snap those loosely-coupled pieces together in different ways to easily change functionality. Then, you will discover how easy it is to unit test code that uses dependency injection. Finally, you will explore some of the magic of dependency injection containers. When you are finished with this course, you will have the skills and knowledge of dependency injection needed to break tight coupling and write more maintainable code.

About the author
About the author

Jeremy Clark is an application developer, technical speaker, and Microsoft MVP with over 13 years of experience in all aspects of the development lifecycle. After hours, he puts together demos and technical articles for JeremyBytes.com, a website focusing on .NET technologies.

More from the author
C# Interfaces
Intermediate
2h 23m
Dec 19, 2018
Abstract Art: Getting Things "Just Right"
Intermediate
2h 8m
Oct 6, 2014
More courses by Jeremy Clark