When working with applications in ASP.NET Core 6 you will often want to validate your models to ensure that the data they contain conform to the pre-defined validation rules. Enter model validation.
Take advantage of the built-in support for OpenAPI in ASP.NET Core to automatically document your HTTP endpoints. Minimal APIs are supported too. ASP.NET Core 6 introduced a simplified hosting model ...