site image
Andrew Lock avatar

Andrew Lock

C#
  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 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#
  5. 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#
  6. Banner image for Using default interface methods for performance gains in IHeaderDictionary

    Using default interface methods for performance gains in IHeaderDictionary

    In this post I look at an example of how default interfaces were used to improve the performance of IHeaderDictionary…

  7. Banner image for Understanding C# 8 default interface methods

    Understanding C# 8 default interface methods

    In this post I provide an introduction to default interface methods, how they work at a high level, their typical uses, and some of their sharp edges…

     in  C#
  8. Banner image for A brief look at StringValues

    A brief look at StringValues

    In this post I look at the StringValues type, where it's used in ASP.NET Core, why it's useful, how it's implemented, and why.…

  9. Banner image for Updates to the StronglyTypedId library - simplification, templating, and CodeFixes

    Updates to the StronglyTypedId library - simplification, templating, and CodeFixes

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

    In this post I describe some recent major updates to my StronglyTypedId NuGet package, describe why I made the changes, and demonstrate how they work…

     in  ASP.NET CoreNuGetSource GeneratorsC#
Andrew Lock | .Net Escapades
Want an email when
there's new posts?