-
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!
-
Validating phone numbers with Twilio using ASP.NET Core Identity and Razor Pages
In this post I show how to add phone number validation with Twilio's Lookup API to a Razor Pages app that uses ASP.NET Core Identity for user management…
-
Strongly-typed IDs in EF Core (Revisited)
Using strongly-typed entity IDs to avoid primitive obsession - Part 4
In this post I describe how to use strongly-typed IDs with EF Core by using value converters and a custom ValueConverterSelector, which actually works!…
in ASP.NET Core -
Using strongly-typed entity IDs with EF Core
Using strongly-typed entity IDs to avoid primitive obsession - Part 3
In this post I discuss using strongly-typed IDs with EF Core by using value converters. Unfortunately this has some issues I only partially fix in this post.…
in ASP.NET Core -
Adding JSON converters to strongly typed IDs
Using strongly-typed entity IDs to avoid primitive obsession - Part 2
In this post I continue looking at using strongly-typed IDs to solve common bugs, and provide converters to make them easier to use with ASP.NET Core.…
in ASP.NET Core -
An introduction to strongly-typed entity IDs
Using strongly-typed entity IDs to avoid primitive obsession - Part 1
In this post I show a common case where primitive GUIDs are used for entity IDs, the issues it can cause, and a possible solution using strongly-typed IDs.…
in ASP.NET Core -
Using strongly-typed entity IDs to avoid primitive obsession
In this series I describe how to use middleware as an MVC filter to add request localisation to your app.…