September 9, 2021
The response to ASP.NET 6.0 Minimal APIs has been fairly mixed. In this post I attempt to address some of the questions and concerns raised by the community and explain why Minimal APIs are an important step forward for ASP.NET.
September 2, 2021
This post covers some of the extensibility points offered by ASP.NET 6.0 Minimal APIs to customize model binding
August 28, 2021
ASP.NET 6.0 introduces an alternative way to build HTTP APIs, using the aptly named “Minimal APIs”. This post provides a step-by-step guide on how to translate traditional MVC concepts to this new approach.
April 10, 2021
In this post we explore the new IAuthorizationMiddlewareResultHandler interface in .NET 5 that enables you to customize the HTTP response when authorization fails.
May 18, 2020
We commonly use C# Enumeration types to represent a set of named constants within our applications. Often the values for such properties comes from the user via an API request but unfortunately the default model-binding and validation behavior in ASP.NET Core does provide the desired API experience. This post looks at how we handle binding and validating enum values in our APIs as well as supporting snake_case variants of the enum member names.