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 Course: Build 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 Course: Building microservices using asp.net core 5.0 and docker
Udemy Coupons - January 2023
Get Certified! IT Certification courses starting from $12.99
Promotion Dates: 19/01/2023 - 31/01/2023
Clicks to Redeem Udemy Coupon