Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Pluralsight

Getting Started with Dependency Injection in .NET

via Pluralsight

Overview

Dependency injection concepts and patterns in .NET help you start writing code that is easy to change and test.

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.

Syllabus

  • Course Overview 1min
  • What Is Tight Coupling and How Does It Impact Your Applications? 28mins
  • Using Dependency Injection to Build Loosely-coupled Applications 20mins
  • Taking Advantage of Loose Coupling 18mins
  • How Dependency Injection Makes Unit Testing Easier 23mins
  • Dependency Injection Containers 36mins

Taught by

Jeremy Clark

Reviews

4.7 rating at Pluralsight based on 334 ratings

Start your review of Getting Started with Dependency Injection in .NET

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.