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 filters to execute custom code at specific points in the request processing pipeline and avoid code duplication across actions. Filters allow you to run code at certain stages of the ...