0 Comments

Dependency Injection in .NET 5 (.NET Core)Dependency Injection in .NET 5 (.NET Core)

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

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.

Best Seller CourseBuild Real world application with Blazor (.NET Core 3.1)

What you’ll 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

You May Also Need This CourseBuilding microservices using asp.net core 5.0 and docker

Udemy screenshot
success 100%

Udemy Upcoming Sale in September 2023

New customer offer! Top courses from $14.99 when you first visit Udemy

Udemy's thousands of highly-rated courses across all subject matters for as low as $14.99





New customer offer! Top courses from $14.99 when you first visit Udemy