site image
Andrew Lock avatar

Andrew Lock

C#
  1. Loading...
  2. Sponsored by Nick Chapsas—Want to learn how to build elegant REST APIs in .NET? Get 5% off Nick's latest course "From Zero to Hero: REST APIs in .NET"!

    From Zero to Hero: REST APIs in .NET
  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 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…

     in  ASP.NET Core C# Source Code Dive Performance
  5. 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#
  6. 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.…

     in  ASP.NET Core C# Source Code Dive Performance
  7. 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 Core NuGet Source Generators C#
  8. Banner image for Redacting sensitive data in logs with Microsoft​.Extensions​.Compliance​.Redaction

    Redacting sensitive data in logs with Microsoft​.Extensions​.Compliance​.Redaction

    In this post I show how you can add redaction to your [LogProperties] and [TagProvider] objects using the Microsoft.Extensions.Compliance.Redaction package…

     in  ASP.NET Core Logging Source Generators C# .NET 8
  9. Banner image for Enriching logs with [TagProvider] and ILogEnricher

    Enriching logs with [TagProvider] and ILogEnricher

    In this post I look at the [TagProperties] and ILogEnricher features from the Microsoft.Extensions.Telemetry and show how they can be used in your apps.…

     in  ASP.NET Core Logging Source Generators C# .NET 8
Andrew Lock | .Net Escapades
Want an email when
there's new posts?