Registering Open Generics in ASPNET Core Dependency Injection
If you have a generic interface and implementation that you want to configure for dependency injection in ASP.NET Core startup, there is a simple way to do so. If you only use the generic methods for adding services, …