Automating Service Registration with Reflection

Опубликовано: 21 Август 2023
на канале: Spyros Katsios
582
17

Hi there. Today we are going to see how to automatically register generic interfaces with their implementations to the DI container, using reflection, so that we don't need to register them one by one.

Dependency Injection with Scrutor: Scanning and Registering :    • Dependency Injection with Scrutor: Scannin...  

How to create a request pipeline from scratch :    • How to create a request pipeline from scratch  

#csharp #dotnet #generics #reflection