site image
Andrew Lock avatar

Andrew Lock

ASP.NET Core
  1. 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"!

    From Zero to Hero: REST APIs in .NET
  2. ASP.NET Core in Action, Third Edition

    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!

  3. Banner image for Validating phone numbers with Twilio using ASP.NET Core Identity and Razor Pages

    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…

  4. Banner image for Strongly-typed IDs in EF Core (Revisited)

    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
  5. Banner image for Using strongly-typed entity IDs with EF 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
  6. Banner image for Adding JSON converters to strongly typed IDs

    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
  7. Banner image for An introduction to strongly-typed entity IDs

    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
  8. Banner image for Using strongly-typed entity IDs to avoid primitive obsession

    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.…

Andrew Lock | .Net Escapades
Want an email when
there's new posts?