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 Exploring the generated code: List<T> and fallback cases

    Exploring the generated code: List<T> and fallback cases

    Behind the scenes of collection expressions - Part 2

    In this post I look at the code generated when you use collection expressions with List<T> or with types that can be used with collection initializers…

     in  C#.NET 8Source Code Dive
  5. Banner image for Introducing collection expressions in C#12

    Introducing collection expressions in C#12

    Behind the scenes of collection expressions - Part 1

    In this post I introduce C#12 collection expressions, discuss the benefits of the unified syntax for refactoring, and show how to use the spread element…

     in  C#.NET 8
  6. Banner image for Conditionally skipping a trigger job in GitLab based on a previous job

    Conditionally skipping a trigger job in GitLab based on a previous job

    In this post I describe the approaches I explored to conditionally skip a trigger job in GitLab based on a previous job using dynamic pipelines…

     in  GitDevOps
  7. Banner image for Blocking primary constructor member capture using a Roslyn Analyzer

    Blocking primary constructor member capture using a Roslyn Analyzer

    In this post I describe a Rosyln analyzer you can use to enforce that primary constructors are only used for initialization and never to capture as fields…

     in  C#
  8. Banner image for Thoughts about primary constructors: 3 pros and 5 cons

    Thoughts about primary constructors: 3 pros and 5 cons

    In this post I describe some of the ways I like to use primary constructors and some of the things I don't like about them…

     in  C#
  9. Banner image for An introduction to primary constructors in C#12

    An introduction to primary constructors in C#12

    In this post I introduce C#12 primary constructors, describe the various ways to use them and how they work behind the scenes.…

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