ASP.NET Core supports creating web APIs using controllers or using Minimal APIs. Controllers in a web API are classes that derive from ControllerBase. Controllers are activated and disposed on a per ...