RSS.Social

Andrew Lock | .NET Escapades

follow: @[email protected]

Posts

Invariant culture string interpolation with [InterpolatedStringHandler]

Understanding Lazy<T> thread safety modes

An introduction to Compact Binary Object Notation (CBOR) in .NET

Stripping extra dependencies in .NET NativeAOT apps using linker substitutions

Experimental support for Device Bound Session Credentials (DBSC) in ASP.NET Core: Exploring the .NET 11 preview - Part 8

Understanding Device Bound Session Credentials (DBSC)

The pain of serializing unions and closed class hierarchies with System.Text.Json: Exploring the .NET 11 preview - Part 7

Finding the total number of processors on a machine with .NET

Automatic CSRF protection based on Fetch Metadata headers

Understanding the Fetch Metadata HTTP headers: Sec-Fetch-Site and friends

Improvements to reading Process outputs: Exploring the .NET 11 preview - Part 5

Closed class hierarchies: Exploring the .NET 11 preview - Part 4

Avoiding ToString() allocations with StringBuilder.MoveChunks: Exploring the .NET 11 preview - Part 3

.NET finally gets union types🎉: Exploring the .NET 11 preview - Part 2

Running background tasks in Blazor with Web Workers: Exploring the .NET 11 preview - Part 1

New features in Git 2.54: easier rebasing, hooks, and statistics

Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>

Running AI agents with customized templates using docker sandbox

Running AI agents safely in a microVM using docker sandbox

Configuring contextual options with Microsoft.Extensions.Options.Contextual

Splitting the NetEscapades.EnumGenerators packages: the road to a stable release

Recording metrics in-process using MeterListener: System.Diagnostics.Metrics APIs - Part 4

Creating standard and "observable" instruments: System.Diagnostics.Metrics APIs - Part 3

Exploring the (underwhelming) System.Diagnostics.Metrics source generators: System.Diagnostics.Metrics APIs - Part 2

Creating and consuming metrics with System.Diagnostics.Metrics APIs

Making foreach on an IEnumerable allocation-free using reflection and dynamic methods

The Windows File Explorer replacement, File Pilot, is awesome

Recent updates to NetEscapades.EnumGenerators: new APIs and System.Memory support

Creating a .NET CLR profiler using C# and NativeAOT with Silhouette

Trying out the Zed editor on Windows for .NET and Markdown

Recent updates to NetEscapades.EnumGenerators: [EnumMember] support, analyzers, and bug fixes

Exploring the .NET boot process via host tracing

Companies complaining .NET moves too fast should just pay for post-EOL support

Easier reflection with [UnsafeAccessorType] in .NET 10: Exploring the .NET 10 preview - Part 9

Understanding the worst .NET vulnerability ever: request smuggling and CVE-2025-55315

Adding metadata to fallback endpoints in ASP.NET Core

Publishing NuGet packages from GitHub actions the easy way with Trusted Publishing

sleep-pc: a .NET Native AOT tool to make Windows sleep after a timeout

Supporting platform-specific .NET tools on old .NET SDKs: Exploring the .NET 10 preview - Part 8

Packaging self-contained and native AOT .NET tools for NuGet: Exploring the .NET 10 preview - Part 7

Using and authoring .NET tools

Fixing an old .NET Core native library loading issue on Alpine

Converting an xUnit test project to TUnit

Running .NET in the browser without Blazor

Passkey support for ASP.NET Core identity: Exploring the .NET 10 preview - Part 6

Running one-off .NET tools with dnx: Exploring the .NET 10 preview - Part 5

Solving the source generator 'marker attribute' problem in .NET 10: Exploring the .NET 10 preview - Part 4

C# 14 extension members; AKA extension everything: Exploring the .NET 10 preview - Part 3

Behind the scenes of dotnet run app.cs: Exploring the .NET 10 preview - Part 2

Exploring the features of dotnet run app.cs: Exploring the .NET 10 preview - Part 1

Working with stacked branches in git (Part 2)

Working with stacked branches in git (Part 1)

Converting a Microsoft XNA 3.1 game to MonoGame

Creating your first sample game with MonoGame

Converting a docker-compose file to .NET Aspire

Pushing a whole stack of branches with a single Git command

Using the new AI template to create a chatbot about a website

Exploring the new AI chat template

Creating a 'pooled' dependency injection lifetime

Going beyond singleton, scoped, and transient lifetimes—tenant, pooled, and drifter

NetEscapades.​AspNetCore.​SecurityHeaders 1.0.0 has been released