Use logging and DI in minimal APIs in ASP.NET Core 6
ASP.NET Core 6 introduces a simplified hosting model that can be used to implement lightweight APIs with minimal dependencies. These minimal APIs dramatically reduce the boilerplate code you need to…
