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 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 Core ASP.NET Core in Action
  5. 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#
  6. 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#
  7. Banner image for Using CancellationTokens in ASP.NET Core minimal APIs

    Using CancellationTokens in ASP.NET Core minimal APIs

    In this post I'll show how you can use CancellationTokens in your minimal API handlers to stop execution when a user cancels a request from their browser…

     in  ASP.NET Core Minimal APIs Model Binding
  8. Banner image for Handling concurrent merges to master in multi-stage Azure DevOps pipelines

    Handling concurrent merges to master in multi-stage Azure DevOps pipelines

    In this post I describe a problem we were seeing in our large Azure DevOps pipeline, where a merge to master would cause PR builds to break mid-run.…

     in  Azure DevOps DevOps Git GitHub
  9. Banner image for Replacing Disqus with GitHub discussions using giscus

    Replacing Disqus with GitHub discussions using giscus

    I recently replaced Disqus with giscus for comments on this blog. In this post I describe the process I took…

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