site image
Andrew Lock avatar

Andrew Lock

  1. Loading...
  2. 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
  3. 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.

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

  5. 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
  6. 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
  7. 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
  8. 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
  9. Banner image for Using Lambda@Edge to handle Angular client-side routing with S3 and CloudFront

    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…

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