Lookup DI services using keys in .NET 8
One of the new features in .NET 8 is the ability to dynamically lookup DI services using keys. This can be a useful way to decouple your code from the concrete implementation of a service. For example, let’s say you have a service that sends notifications. You could have a concrete implementation for each type […]