Skip to the content.

dev-links
└─ dev-blogs / dev-news / andrewlock


icon Andrew Lock | .NET Escapades .NET

Microsoft MVP and author of ASP.NET Core in Action, who has worked on Datadog’s .NET SDK. Maintains the NetEscapades libraries (EnumGenerators, SecurityHeaders). Writes detailed posts on ASP.NET Core and .NET, such as the “Exploring the .NET 11 preview” series, NativeAOT, web security, CBOR and thread-safe lazy initialization.

2026-11-24 Invariant culture string interpolation with [InterpolatedStringHandler]
2026-11-03 Understanding Lazy<T> thread safety modes
2026-10-20 An introduction to Compact Binary Object Representation (CBOR) in .NET
2026-10-06 Stripping extra dependencies in .NET NativeAOT apps using linker substitutions
2026-09-22 Experimental support for Device Bound Session Credentials (DBSC) in ASP.NET Core: Exploring the .NET 11 preview - Part 8
2026-09-15 Understanding Device Bound Session Credentials (DBSC)
2026-09-01 The pain of serializing unions and closed class hierarchies with System.Text.Json: Exploring the .NET 11 preview - Part 7
2026-08-25 Finding the total number of processors on a machine with .NET
2026-08-04 Automatic CSRF protection based on Fetch Metadata headers: Exploring the .NET 11 preview - Part 6
2026-07-29 Understanding the Fetch Metadata HTTP headers: Sec-Fetch-Site and friends
2026-07-07 Improvements to reading Process outputs: Exploring the .NET 11 preview - Part 5
2026-06-30 Closed class hierarchies: Exploring the .NET 11 preview - Part 4
2026-06-23 Avoiding ToString() allocations with StringBuilder.MoveChunks: Exploring the .NET 11 preview - Part 3
2026-05-19 .NET (OK, C#) finally gets union types🎉: Exploring the .NET 11 preview - Part 2
2026-05-12 Running background tasks in Blazor with Web Workers: Exploring the .NET 11 preview - Part 1
2026-04-28 New features in Git 2.54: easier rebasing, hooks, and statistics
2026-04-21 Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>
2026-04-14 Running AI agents with customized templates using docker sandbox
2026-04-07 Running AI agents safely in a microVM using docker sandbox
2026-04-01 Configuring contextual options with Microsoft.Extensions.Options.Contextual
2026-03-10 Splitting the NetEscapades.EnumGenerators packages: the road to a stable release
2026-02-24 Recording metrics in-process using MeterListener: System.Diagnostics.Metrics APIs - Part 4
2026-02-17 Creating standard and “observable” instruments: System.Diagnostics.Metrics APIs - Part 3
2026-02-03 Exploring the (underwhelming) System.Diagnostics.Metrics source generators: System.Diagnostics.Metrics APIs - Part 2
2026-01-27 Creating and consuming metrics with System.Diagnostics.Metrics APIs: System.Diagnostics.Metrics APIs - Part 1
2026-01-20 Making foreach on an IEnumerable allocation-free using reflection and dynamic methods

↑ Top