- 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.
![Banner image for Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>](/content/images/2026/readonlyspan_banner.png)
Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>
In this post I describe how to remove static byte[] allocations, even on .NET Framework, by using Span<T>, look at the associated IL, and discuss the risks…

Running AI agents with customized templates using docker sandbox
In this post I describe how to create custom templates for Docker Sandboxes, so that your sandboxes start with additional tools immediately available…

Running AI agents safely in a microVM using docker sandbox
In this post I show how to run AI coding agents safely while still using YOLO/dangerous mode using docker sandboxes and the sbx tool…

Configuring contextual options with Microsoft.Extensions.Options.Contextual
In this post I take a brief look at the Microsoft.Extensions.Options.Contextual package to understand what it's for, how to use it, and whether to use it or not…

Splitting the NetEscapades.EnumGenerators packages: the road to a stable release
In this post I describe the recent architectural changes to the NetEscapades.EnumGenerators package, which is now a metapackage, to support more scenarios…

Recording metrics in-process using MeterListener
System.Diagnostics.Metrics APIs - Part 4
In this post I show how you can use MeterListener to listen to Instrument measurements, how to trigger Observable measurements, and how to aggregate values.…

