-
Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!
-
My new book ASP.NET Core in Action, Third Edition is available now! It supports .NET 7.0, and is available as an eBook or paperback. You even get a free copy of the previous editions of ASP.NET Core in Action!
-
Using CancellationTokens in ASP.NET Core minimal APIs
In this post I'll show how you can use CancellationTokens in your minimal API handlers to stop execution when a user cancels a request from their browser…
-
Serializing a PascalCase Newtonsoft.Json JObject to camelCase
In this post I describe one of the quirks of serializing a JSON.NET JObject, and show how to get camelCase names from a PascalCase JObject.…
-
Creating a not-empty GUID validation attribute and a not-default validation attribute
In this post I describe an MVC validation attribute that verifies a GUID doesn't have the default Empty value. I also present a generalised version.…
-
Coming in ASP.NET Core 2.1 - top-level MVC parameter validation
This post looks at a feature coming in ASP.NET Core 2.1 related to Model Binding in ASP.NET Core MVC/Web API Controllers - top-level parameter validation.…
-
Using CancellationTokens in ASP.NET Core MVC controllers
In this post I'll show how you can use CancellationTokens in your MVC action methods to stop execution when a user cancels a request from their browser…
-
Model binding JSON POSTs in ASP.NET Core
In this post, I am going to show what to do if you are converting a project to ASP.NET Core and you discover your JSON POSTs aren't working.…