Asp.net – How to Conditionally Inject Dependencies into Services based on their type in .NET 6?
I got a C# gRPC sln with .NET 6 (not sure if the fact that its grpc matters for this question) with 2 different C# classes which are implemeting the logic of 2 different grpc services which derives from 2…