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.
Take advantage of the IServiceProvider interface to resolve service dependencies in ASP.NET Core and improve the maintainability and testability of your applications. One of the most essential ...