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 Creating a .NET Standard Roslyn Analyzer in Visual Studio 2017

    Creating a .NET Standard Roslyn Analyzer in Visual Studio 2017

    In this post, I give a brief introduction to Roslyn analyzers, what they're for, and how to create a simple analyzer in Visual Studio 2017.…

  5. Banner image for Using anonymous types and tuples to attach correlation IDs to scope state with Serilog and Seq in ASP.NET Core

    Using anonymous types and tuples to attach correlation IDs to scope state with Serilog and Seq in ASP.NET Core

    In this post I describe two extension methods that make logging scopes as key-value pairs nicer in ASP.NET Core, by using anonymous types and tuples.…

     in  ASP.NET Core ASP.NET Core 2.0 Logging C#
  6. Banner image for Aligning strings within string.Format and interpolated strings

    Aligning strings within string.Format and interpolated strings

    In this post I describe a feature I only recently discovered: alignment in interpolated strings…

     in  C#
  7. Banner image for Deconstructors for non-tuple types in C# 7.0

    Deconstructors for non-tuple types in C# 7.0

    This post takes a look at how to deconstruct non-tuple types in C# 7. Also, learn how to fix the Predefined type 'System.ValueTuple`2' is not defined error.…

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