How to use the minimal hosting model in ASP.NET Core 6
The minimal hosting model in ASP.NET Core 6 means having to write less boilerplate code to get your application up and running.
Ihostbuilder Createhostbuilder Webapplication Createbuilder Configureservices Iservicecollection Services Addscoped Services Addmemorycache Services Addcontrollers
Source: infoworld.com