- Loading...
Sponsored by Dometrain Courses—Get 30% off Dometrain Pro with code ANDREW30 and access the best courses for .NET Developers

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.

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.…

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#
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#

