site image
Andrew Lock avatar

Andrew Lock

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

    30% off with code ANDREW30 on Dometrain Pro
  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 Fighting with nullable reference types in Razor Pages

    Fighting with nullable reference types in Razor Pages

    In this post I discuss C#'s nullable reference types in the context of Razor Pages, why they don't play nicely together and how to improve the experience.…

     in  Razor PagesC#
  5. Banner image for Adding validation to strongly typed configuration objects using FluentValidation

    Adding validation to strongly typed configuration objects using FluentValidation

    In this post I describe how to to verify your strongly typed configuration objects are correctly bound to your config at start up using FluentValidation…

     in  ASP.NET CoreConfiguration
  6. Banner image for Adding validation to strongly typed configuration objects in .NET 6

    Adding validation to strongly typed configuration objects in .NET 6

    In this post I describe how to to verify your strongly typed configuration objects are correctly bound to your configuration at app startup…

     in  ASP.NET CoreConfiguration
  7. Banner image for ASP.NET Core in Action, version 3, is now available

    ASP.NET Core in Action, version 3, is now available

    ASP.NET Core in Action, version 3, is available now from Manning's Early Access Program, and is fully updated to .NET 7.…

     in  ASP.NET CoreASP.NET Core in Action
  8. Banner image for Counting the leading zeroes in a binary number with C#

    Counting the leading zeroes in a binary number with C#

    In this post I describe an algorithm to count the number of leading zeroes in a ulong, study how it works, and benchmark it against alternatives.…

     in  C#
  9. Banner image for Working with System.Random and threads safely in .NET Core and .NET Framework

    Working with System.Random and threads safely in .NET Core and .NET Framework

    In this post I look at some of the ways you can misuse System.Random, comparing .NET Framework, NET Core, and .NET 6 implementations.…

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