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 Using Source Generators with Blazor components in .NET 6

    Using Source Generators with Blazor components in .NET 6

    In this post I describe a problem where upgrading my Blazor app to .NET 6 broke my source generators that relied on Blazor components.…

     in  ASP.NET CoreBlazorSource Generators
  5. Banner image for Downloading artifacts from Azure DevOps using .NET

    Downloading artifacts from Azure DevOps using .NET

    In this post I show how to use the Azure DevOps REST API to view the results of builds from Pipelines and how to download the artifacts…

     in  .NET CoreDevOpsAzure DevOpsGitHub
  6. Banner image for Rebuilding StronglyTypedId as a source generator - 1.0.0-beta release

    Rebuilding StronglyTypedId as a source generator - 1.0.0-beta release

    Using strongly-typed entity IDs to avoid primitive obsession - Part 7

    In this post I describe the changes I made when rebuilding a library that auto-generates strongly-typed IDs for you to use source generators…

     in  ASP.NET Core
  7. Banner image for ValueStringBuilder: a stack-based string-builder

    ValueStringBuilder: a stack-based string-builder

    A deep dive on StringBuilder - Part 6

    In this post I discuss the ValueStringBuilder type, used internally in .NET as a zero/low-allocation alternative to StringBuilder…

  8. Banner image for Reducing allocations by caching with StringBuilderCache

    Reducing allocations by caching with StringBuilderCache

    A deep dive on StringBuilder - Part 5

    In this post I look at the internal StringBuilderCache type, benchmark it against a StringBuilder, and walk through the code to show how it works.…

  9. Banner image for Inserting and removing characters

    Inserting and removing characters

    A deep dive on StringBuilder - Part 4

    In this post we look at the Insert() and Remove() functions, which can involve tricky manipulations of chunks in the middle of the linked list…

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