- Course
Getting Started with Dependency Injection in .NET 2
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
Getting Started with Dependency Injection in .NET 2
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.
Get started today
Access this course and other top-rated tech content with one of our business plans.
Try this course for free
Access this course and other top-rated tech content with one of our individual plans.
This course is included in the libraries shown below:
- Core Tech
What you'll learn
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.
Getting Started with Dependency Injection in .NET 2
-
Version Check | 14s
-
Course Overview | 2m 25s
-
What is Dependency Injection? | 4m 17s
-
Application Overview | 1m 54s
-
Demo: Application Projects | 3m 28s
-
Demo: The Data Store and Data Access Layers | 2m 9s
-
Demo: The Presentation Layer | 1m 55s
-
Demo: The View Layer | 3m 12s
-
The Problem of Tight Coupling | 3m 8s
-
Difficult Updates | 4m 17s
-
Summary | 1m 13s