Learn how to use keyed dependency injection in ASP.NET Core to build applications that can select a specific implementation of a service at run time. Dependency injection (also known as DI) is a ...
ASP.NET Core offers a simplified hosting model, called minimal APIs, that allows us to build lightweight APIs with minimal dependencies. We’ve discussed minimal APIs in several earlier posts here.