Automating Service Registration with Reflection

Опубликовано: 10 Июль 2026
на канале: Spyros Katsios
731
20

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