.NET Core Dependency Injection

Start to Finish Title Image

Create modern, resilient applications!

Enroll Now

.NET Core Dependency Injection

Start to Finish Title Image

Create modern, resilient applications!

Video Lessons Icon 45 Lessons
Hours of Course Icon 5 Hours
Certificate Icon Certificate
Video Lessons Icon 45 Lessons

Hours of Course Icon 5 Hours

Certificate Icon Certificate

.NET Core Dependency Injection From Start to Finish

How do you make use of dependency injection so your apps are not half-baked, tightly-coupled, and messy?

.NET Core Dependency Injection from Start to Finish gives you an in-depth look at how the dependency injection system works in .NET Core. It covers how to set it up in all major project types, how to add dependencies in various manners, and how to get the dependencies out. Advanced and edge cases will be covered, including additional parameters, multiple dependencies per interface, dependencies from other libraries, and more.

Your Path Image

Your Path to DI Expert

Foundation

Understand how to set up dependency injection

Course Introduction

By Tim Corey 6 lessons 38 min Preview
Introduction
0:52 min
What is Dependency Injection
19:16 min
Why is Dependency Injection important
4:59 min
What This Course Covers
7:09 min
What This Course Does Not Cover
3:16 min
Who This Course is for
4:24 min

Forum

Collaborative Student Space

The Basics

By Tim Corey 7 lessons 32 min
Introduction
0:57 min
Creating a Blazor Server Project
4:47 min
Reviewing Startup
8:13 min
Creating a Demo Class
1:59 min
Adding a Class to Dependency Injection
1:43 min
Referencing a DI Object in a Blazor Page
5:26 min
Referencing a DI Object in Another Class
12:16 min

Scope

By Tim Corey 4 lessons 13 min
Introduction
0:35 min
Transient
2:15 min
Singleton
5:16 min
Scoped
5:20 min

Using Interfaces

By Tim Corey 5 lessons 40 min
Introduction
0:32 min
Referencing an Interface
3:56 min
Why Use an Interface
20:36 min
Multiple Implementations
7:42 min
Identifying Specific Interface Types
9:30 min
Your Path Image

Milestone

Now you understand how to use dependency injection well

Milestone Icon
Your Path Image

Advanced

Conquer the advanced topics and best practices

Advanced Topics

By Tim Corey 4 lessons 24 min
Introduction
0:50 min
Registering Groups of Services
6:23 min
Service Registration Methods
11:08 min
TryAdd Option
6:26 min

Best Practices

By Tim Corey 4 lessons 29 min
Introduction
0:39 min
Disposing of Services
10:14 min
Avoid the Service Locator Pattern
11:49 min
Be Careful of Scope
7:19 min

Frequently Asked Questions

By Tim Corey 6 lessons 32 min
Introduction
0:28 min
Can I Have Multiple Items with One Interface?
4:45 min
Can I Have Other Constructor Parameters?
11:00 min
Can I Have Multiple Constructors?
1:06 min
Can I Pass In Values to My Constructors Besides Class Instances?
5:10 min
Do I Put Every Class In My DI System?
10:44 min

Dependency Injection In Common Project Types

By Tim Corey 8 lessons 75 min
Introduction
0:35 min
Console App
20:23 min
Worker Service
7:32 min
WinForms (.NET Core)
13:34 min
WPF (.NET Core)
15:38 min
ASP.NET Core
6:43 min
Blazor WebAssembly
4:29 min
Azure Function
9:47 min

Course Conclusion

By Tim Corey 1 lessons 1 min
Conclusion
1:01 min
Course Completed

Certificate Awarded

Your Path Image

You Are a Dependency Injection Expert

You are now able to....

Laurel One

Implement dependency injection with confidence

Laurel Two

Correctly use the various scope types

Laurel Three

Implement dependency injection in .NET project types

Your Path to DI Expert

Foundation

Understand how to set up dependency injection

Course Introduction

6 lessons 38 min Preview
Introduction
0:52 min
What is Dependency Injection
19:16 min
Why is Dependency Injection important
4:59 min
What This Course Covers
7:09 min
What This Course Does Not Cover
3:16 min
Who This Course is for
4:24 min

Forum

Collaborative Student Space

The Basics

7 lessons 32 min
Introduction
0:57 min
Creating a Blazor Server Project
4:47 min
Reviewing Startup
8:13 min
Creating a Demo Class
1:59 min
Adding a Class to Dependency Injection
1:43 min
Referencing a DI Object in a Blazor Page
5:26 min
Referencing a DI Object in Another Class
12:16 min

Scope

4 lessons 13 min
Introduction
0:35 min
Transient
2:15 min
Singleton
5:16 min
Scoped
5:20 min

Using Interfaces

5 lessons 40 min
Introduction
0:32 min
Referencing an Interface
3:56 min
Why Use an Interface
20:36 min
Multiple Implementations
7:42 min
Identifying Specific Interface Types
9:30 min
Your Path Image

Milestone

Now you understand how to use dependency injection well

Your Path Image

Advanced

Conquer the advanced topics and best practices

Training Icon

Advanced Topics

4 lessons 24 min
Introduction
0:50 min
Registering Groups of Services
6:23 min
Service Registration Methods
11:08 min
TryAdd Option
6:26 min
Training Icon

Best Practices

4 lessons 29 min
Introduction
0:39 min
Disposing of Services
10:14 min
Avoid the Service Locator Pattern
11:49 min
Be Careful of Scope
7:19 min
Training Icon

Frequently Asked Questions

6 lessons 32 min
Introduction
0:28 min
Can I Have Multiple Items with One Interface?
4:45 min
Can I Have Other Constructor Parameters?
11:00 min
Can I Have Multiple Constructors?
1:06 min
Can I Pass In Values to My Constructors Besides Class Instances?
5:10 min
Do I Put Every Class In My DI System?
10:44 min
Training Icon

Dependency Injection In Common Project Types

8 lessons 75 min
Introduction
0:35 min
Console App
20:23 min
Worker Service
7:32 min
WinForms (.NET Core)
13:34 min
WPF (.NET Core)
15:38 min
ASP.NET Core
6:43 min
Blazor WebAssembly
4:29 min
Azure Function
9:47 min
Training Icon

Course Conclusion

1 lessons 1 min
Conclusion
1:01 min
Your Path Image
Certificate Icon

Certificate Awarded

Course Completed

Your Path Image

You Are a Dependency Injection Expert

You are now able to....

Laurel One

Implement dependency injection with confidence

Laurel Two

Correctly use the various scope types

Laurel Three

Implement dependency injection in .NET project types

Ready to start your path?

Ready to start your path?

Picture of Tim Corey talking

Hi, I'm Tim COREY

I learned software development the hard way, with lots of dead-ends, confusion, and knowledge gaps. I kept thinking, “It shouldn't be this hard!” Now I teach students how to think and code like professional developers. My goal is to make it easier for you to become a developer.

25+

Years Experience

400,000

Students

400+

Hours Content

8x

Microsoft MVP

Don't Just Take My Word for It

“With your knowledge and teaching style I just got my first job offer as a C# developer”
Corey
“Definitely worth the money you pay.”
Zafar
“I really appreciate the explanation of “Why”
Jamie
“Thank you so much”
Daniel
“I'd feel better having a colleague that learned from Tim's courses than a bootcamp”
KUMBALA80
“After completing the mastercourse I got two very nice competing engineering offers”
Ron
“Best I've come across”
Chris
“I have finally landed my first job as a software developer”
Daniel
“If I only found this a year ago I could've saved so much time.”
Alex

Hi, I'm Tim COREY

I learned software development the hard way, with lots of dead-ends, confusion, and knowledge gaps. I kept thinking, “It shouldn't be this hard!” Now I teach students how to think and code like professional developers. My goal is to make it easier for you to become a developer.

Picture of Tim Corey talking

25+

Years Experience


400,000

Students


400+

Hours Content


8x

Microsoft MVP

Don't Just Take My Word for It

“With your knowledge and teaching style I just got my first job offer as a C# developer”
Corey
“Definitely worth the money you pay.”
Zafar
“Thank you so much”
Daniel
“I'd feel better having a colleague that learned from Tim's courses than a bootcamp”
KUMBALA80
“After completing the mastercourse I got two very nice competing engineering offers”
Ron
“I really appreciate the explanation of “Why”
Jamie
“Best I've come across”
Chris
“If I only found this a year ago I could've saved so much time.”
Alex
Picture of Tim Corey talking

Hi, I'm Tim COREY

I learned software development the hard way, with lots of dead-ends, confusion, and knowledge gaps. I kept thinking, “It shouldn't be this hard!” Now I teach students how to think and code like professional developers. My goal is to make it easier for you to become a developer.

25+

Years Experience


400,000

Students


400+

Hours Content


8x

Microsoft MVP

Don't Just Take My Word for It

“With your knowledge and teaching style I just got my first job offer as a C# developer”
Corey
“Definitely worth the money you pay.”
Zafar
“After completing the mastercourse I got two very nice competing engineering offers”
Ron
“I have finally landed my first job as a software developer”
Daniel
“Best I've come across”
Chris

Purchase or Subscribe

Enroll in the course or get it as part of a DevPass Subscription

.NET Core Dependency Injection From Start to Finish Title Image

$49.00

One time payment

White Checkmark on Black Circular Background 5 Hours of HD Video
White Checkmark on Black Circular Background Certificate
White Checkmark on Black Circular Background Forum Access
White Checkmark on Black Circular Background Source Code
White Checkmark on Black Circular Background English Subtitles
White Checkmark on Black Circular Background Downloadable
White Checkmark on Black Circular Background Lifetime Access
DevPass Monthly Title Image

$55.00/m

Recurring Monthly Payment

Black Checkmark on White Circular Background 30 Courses
Black Checkmark on White Circular Background Certificates
Black Checkmark on White Circular Background Forum Access
Black Checkmark on White Circular Background Source Code
Black Checkmark on White Circular Background English Subtitles
Black Checkmark on White Circular Background Streaming Only
Black Checkmark on White Circular Background Life of Subscription
Black Checkmark on White Circular Background 400+ Hours of Video
Black Checkmark on White Circular Background $3.3K Total Value
Black Checkmark on White Circular Background Future Courses Added
Learn More About DevPass

Purchase or Subscribe

Enroll in the course or get it as part of a DevPass Subscription

.NET Core Dependency Injection From Start to Finish Title Image

$49.00

One time payment

White Checkmark on Black Circular Background 5 Hours of HD Video
White Checkmark on Black Circular Background Certificate
White Checkmark on Black Circular Background Forum Access
White Checkmark on Black Circular Background Source Code
White Checkmark on Black Circular Background English Subtitles
White Checkmark on Black Circular Background Downloadable
White Checkmark on Black Circular Background Lifetime Access
DevPass Monthly Title Image

$55.00/m

Recurring Monthly Payment

Black Checkmark on White Circular Background 30 Courses
Black Checkmark on White Circular Background Certificates
Black Checkmark on White Circular Background Forum Access
Black Checkmark on White Circular Background Source Code
Black Checkmark on White Circular Background English Subtitles
Black Checkmark on White Circular Background Streaming Only
Black Checkmark on White Circular Background Life of Subscription
Black Checkmark on White Circular Background 400+ Hours of Video
Black Checkmark on White Circular Background $3.3K Total Value
Black Checkmark on White Circular Background Future Courses Added
Learn More About DevPass
Money Back Guarantee Image

30 Day Money Back Guarantee

If this course or subscription isn't for you, you can count on a no-hassle 30 day Money Back Guarantee

Frequently Asked Questions

When does this course start and finish?

The course starts now and never ends! It is a completely self-paced online course; you decide when you start and when you finish.

How long do I have to access the course?

How does lifetime access sound? After enrolling, you have unlimited access to this course for as long as you like; across any and all devices you own.

What if I am unhappy with the course?

I do my best to provide the highest quality training to help you become a successful developer. But if this course isn't for you, then you can count on a no-hassle 30 Day Money Back Guarantee.