Dependency Injection in .NET 5 (.NET Core)

Learn the basic foundation of Dependency Injection in ASP.NET Core / .NET 5 web applications.

4.49 (1038 reviews)
Udemy
platform
English
language
Operating Systems
category
instructor
Dependency Injection in .NET 5 (.NET Core)
5,126
students
3 hours
content
Jun 2020
last update
$74.99
regular price

What you will learn

Dependency Injection in .NET 5 (.NET Core)

Need for Dependency Injection

Service Lifetime for Dependency Injection

Injecting services in Middleware

Injecting services in Views

Injecting services in Controller/Actions

Different ways to register services

Registering interface multiple times

Adding, removing and replacing service registration

Register multiple implementations

Framework services like ILogger

Custom repository pattern

Why take this course?

Dependency Injection is one of those terms that are used very often and are not understood most of the time.

This course will teach you everything you need to know about using dependency injection in ASP.NET Core. The skills you will learn will help you to build and architect complex ASP.NET Core applications that make full use of dependency injection. We will start with the basics of Dependency Injection and then we would dive into advanced concepts.

In old times we had to use third-party libraries for dependency injection but with .NET Core / .NET 5, dependency injection has been an integrated part of the .NET and it has great capabilities!

We will learn about all the topics that are needed to master Dependency Injection. By the end of the course, you will be fluent with all questions when it comes to dependency injection.

Reviews

Rabbee
April 27, 2023
Struggling to hear/understand the presenter - concepts could've been explained a lot clearer and quicker.
Lakshminadh
March 31, 2023
Nice explanation and able to understand the use of DI easily. Thanks to udemy for providing a very good instructor.
Benjamin
March 9, 2023
A very high level style of teaching, no explanations of keywords or approach just a "If you want to do this, then write this" approach of teaching.
Anuj
November 4, 2022
Good explanation of DI. You should have explained Repository pattern a little instead of just writing some code.
Martin
October 9, 2022
Great tutorial . It will be more valuable if you can include ServiceScopeFactory and accessing it in HostedService.
Ivan
October 5, 2022
It would have been nice to see how to setup services that require parameters in their initialization that don't come from existing services.
Pranali
July 8, 2022
This course covers all useful information and is well explained. But it's little bit faster. Also expected some architecture , flow diagram or document to get more clear understand.
Gendawy
May 6, 2022
some parts i felt they needed more clarification, but overall i would rely on this course to learn dependency injection
Albelis
April 22, 2022
This course covers useful information and is well explained. But It does move fast in some sections toward the end which sometimes makes it a little bit hard to follow.
Sarye
February 16, 2022
Thank you for the course, I feel very confident now. The course gives practical tips on service lifetime, and at the end, a way to hide all the service injections behind a single method. - For those coming from another framework, please note that the Dependency Injection Container is built-in in .Net, nevertheless, the course longs only 3 hours and contains a great amount of practical usage and theorical content. I am very willing of these small .Net focused courses. An idea that interests me for another course: a master course on logging (elastic search, azure).
M.
January 24, 2022
I would have given a better score when the dependancy injection also would have worked on a worker service. I did ask question about is (now 24-01-2022, 19 days ago), no reaction at all.
Mohan
January 5, 2022
Clear and consice explanation on each topics. Course not only covered DI but also some pieces of .Net Core.
Rp_dev
January 3, 2022
Great course explaining lifetimes. Only issue was that some of the content was blurry and hard to see
Farah
October 21, 2021
Organisation et explications sont de bonnes qualités. Le formateur est audible et articule bien. Le contenu est intéressant.
Jeff
October 5, 2021
This course is very good in terms of covering useful and in-depth topics. It does move fast in sections toward the end. I would like to see it slow down and provide more explanation.

Charts

Price

Dependency Injection in .NET 5 (.NET Core) - Price chart

Rating

Dependency Injection in .NET 5 (.NET Core) - Ratings chart

Enrollment distribution

Dependency Injection in .NET 5 (.NET Core) - Distribution chart
3045184
udemy ID
4/24/2020
course created date
5/22/2020
course indexed date
Bot
course submited by