Dependency Injection in .NET Core using generic interface

Опубликовано: 18 Март 2026
на канале: For the Geeks
1,742
10

Hey YouTube Lovers,
✤ Welcome to “ForTheGeeks” ✤

In this tutorial I will talk about how we can have multiple implementations using a Generic interface approach in ASP .NET core.
We will see what was the limitation of the solution we used to implement DI in our previous video.
In this video, I will show you a better approach on how to implement DI. Though this solution is good, it has few limitations as well. We will see another approach on how to have multiple implementations with same interface in one of my next videos. Link below
🎬    • Video  

🔰 My git hub repo
🔗 https://github.com/manjusa/Dependency...
🔗 https://github.com/manjusa/Dependency...

🔰 Topics that we will learn:
What is DI
Dependency Injection multiple implementation with Interface approach
Dependency Injection in .NET Core using generic interface
How to create Git repository and push your local changes all from Visual Studio itself
How to implement Dependency Injection with Func

I hope you found this video helpful and if you did please give me a thumbs up and don’t forget to subscribe to my channel. Channel link below
YTC link-    / forthegeeks  
Also I write blogs on many technical and programming languages. You can

✔ follow my blogs below
🌐 blogs - www.manjustechblog.com
🌐 Medium -   / vnmshenoy  


==============================================

Watch my other videos

🔰 What is dependency injection
🎬   • Video  

🔰 Dependency Injection multiple implementation with Interface approach
🎬   • Video  

🔰 How to create Git repository and push your local changes all from Visual Studio itself
🎬   • How to create Git repository and push your...  

🔰 How to implement Dependency Injection with Func
🎬    • Video  

==============================================

#ForTheGeeks #What is dependency injection #What is DI #Dependency Injection concept #.NET6 Dependency Injection #Multiple implementations using a Generic interface approach #Multiple implementations using a Generic interface approach in ASP .NET core #.Net Dependency Injection #What does DI help with #What problem does dependency injection resolve #Explain dependency injection in C# #forthegeekstutorial #DependencyInjectionexplainedforthegeeks #DependencyInjectiontutorial #DIwithforthegeeks #learnDependencyInjectionWithforthegeeks #DependencyInjectionexplained #forthegeeksDependencyInjection

🔰 Note
Please note that the views expressed are mine alone.