Blogged: .NET finally gets union types🎉 - Exploring the .NET 11 preview - Part 2
https://t.co/CPW2cac14F
In this post I discuss the support for union types released in .NET 11, how they're implemented, the choices made, and how to create your own union types
#dotnet#csharp
Blogged: Running background tasks in Blazor with Web Workers - Exploring the .NET 11 preview - Part 1
https://t.co/8PBTl6NaXU
In this post I discuss the new Web Worker template available in .NET 11 for running CPU intensive tasks without blocking the UI
#dotnet#blazor
Better C#/.NET systems don’t come from features alone.
Julio Quezada's five-book "reading sprint" focuses on clear separation of concerns, lightweight dependencies, and systems that remain reliable under stress.
Includes:
• ASP. Net Core in Action, 3rd ed by @andrewlocknet: https://t.co/edvBRCQGDx
• Dependency Injection Principles, Practices, and Patterns by @dot_NET_Junkie and @ploeh: https://t.co/G8Bd76iZH6
Full list: https://t.co/S2TEW9YokU
Less allocation means better performance. Simple as that. 😎
But how do you actually get there, especially on older runtimes?
@andrewlocknet walks through a practical way to cut byte[] allocations using ReadOnlySpan<T>.
Dive in: https://t.co/UzkRlBXKb3
Blogged: New features in Git 2.54: easier rebasing, hooks, and statistics
https://t.co/gNPAOcT5qC
In this post I show some of the new features in Git 2.54 including simple rebases with git history, config-based hooks, and stats with git repo structure
#git
@KooKiz The interesting thing though is that the change _was_ completely sound, and only thwarted because the vendored span type wasn't in the System namespace. Switch the namespace, and everything's fixed!
Blogged: Removing byte[] allocations in .NET Framework using ReadOnlySpan<T>
https://t.co/7QvVaXqbcG
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 potential risks
#dotnet
Blogged: Running AI agents with customized templates using docker sandbox
https://t.co/bFZBrfvtWp
In this post I describe how to create custom templates for Docker Sandboxes, so that your sandboxes start with additional tools immediately available (like .NET)
#docker#dotnet
Blogged: Running AI agents safely in a microVM using docker sandbox
https://t.co/u6ODbhuUoJ
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
#ai#docker#ClaudeCode
Blogged: Configuring contextual options with Microsoft.Extensions.Options.Contextual
https://t.co/PGmZ7iQz0Q
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 decide whether to use it
#dotnet
Blogged: Splitting the NetEscapades.EnumGenerators packages: the road to a stable release
https://t.co/1tQ5LmHl7l
In this post I describe the recent architectural changes to the NetEscapades.EnumGenerators package, which is now a metapackage, to support more scenarios
#dotnet
Blogged: Recording metrics in-process using MeterListener
https://t.co/uxxWwIQGH3
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
#dotnet#observability