site image
Andrew Lock avatar

Andrew Lock

.NET Core
  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 Replacing Exceptions-as-flow-control with the result pattern

    Replacing Exceptions-as-flow-control with the result pattern

    Working with the result pattern - Part 1

    In this post I discuss why you might want to use the result pattern, demonstrate it with a simple example and show a naïve, ugly, solution…

     in  C#.NET Core
  5. Banner image for Working with the result pattern

    Working with the result pattern

    In this series I provide a brief introduction to the result pattern, show how to use it, and how to use LINQ to reduce the boilerplate it introduces…

     in  C#.NET Core
  6. Banner image for Preventing breaking changes in public APIs with PublicApiGenerator

    Preventing breaking changes in public APIs with PublicApiGenerator

    In this post I show how you can use the PublicApiGenerator project to document your public API and build a snapshot unit test to prevent breaking changes…

     in  .NET CoreC#
  7. Banner image for Working with tar files in .NET 8

    Working with tar files in .NET 8

    In this post I show how to create, extract, and list tar files using the built-in tar support introduced in .NET 7, and discuss some of the limitations…

     in  .NET Core.NET 7.NET 8
  8. Banner image for Simplifying [Theory] test data with Xunit.Combinatorial

    Simplifying [Theory] test data with Xunit.Combinatorial

    In this post I show how you can simplify your xUnit [Theory] tests using the Xunit.Combinatorial package to auto-generate your test parameters…

     in  .NET 8xUnitTesting.NET Core
  9. Banner image for Testing your incremental generator pipeline outputs are cacheable

    Testing your incremental generator pipeline outputs are cacheable

    Creating a source generator - Part 10

    In this post I show an approach for unit testing that your incremental generator outputs are cached correctly so you don't impact IDE performance…

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