-
Course
- Core Tech
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.
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.
Table of contents
- 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
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 Courses by Jeremy