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 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
  5. Banner image for Creating source-only NuGet packages

    Creating source-only NuGet packages

    In this post I show how you can create a NuGet package that contains source code (instead of dlls) which is then compiled into the target project…

     in  .NET 8NuGet
  6. Banner image for Disambiguating types with the same name with extern alias

    Disambiguating types with the same name with extern alias

    In this post I describe how to solve Error CS0433, where you have two types with the exact same name and namespace coming from two different packages…

     in  .NET 8C#
  7. Banner image for Adding support for collection expressions to your own types

    Adding support for collection expressions to your own types

    Behind the scenes of collection expressions - Part 5

    In this final post of the series I show how to add support for collection expressions to your own types that don't support them automatically…

     in  C#.NET 8
  8. Banner image for Exploring the generated code: the spread element

    Exploring the generated code: the spread element

    Behind the scenes of collection expressions - Part 4

    In this post I show what the compiler generates when you use collection expressions with the spread element and how it depends on the collections used…

     in  C#.NET 8Source Code Dive
  9. Banner image for Exploring the generated code: T[], Span<T>, and Immutable collections

    Exploring the generated code: T[], Span<T>, and Immutable collections

    Behind the scenes of collection expressions - Part 3

    In this post I look at the code generated when you use collection expressions with T[], ReadOnlySpan<T>, Span<T>, and immutable collections…

     in  C#.NET 8Source Code Dive
Andrew Lock | .Net Escapades
Want an email when
there's new posts?