Automating Service Registration with Reflection

Published: 21 August 2023
on channel: 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