- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

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.

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 Lambda@Edge to handle Angular client-side routing with S3 and CloudFront
In this post I show how to use Lambda@Edge with a statically hosted site to intercept invalid requests caused by client-side routing and return index.html…

