Every long-lived codebase is haunted. This Halloween, we'll use AI coding agents, along with a few trusty .NET tools, to find and safely banish dead code, zombie NuGet packages, and feature flags that never went away.
Read more →We thought the series was over, but the demo had one more question for us: can a C# 15 app built on unions, closed hierarchies, and union-aware System.Text.Json compile to a native binary? We publish Tiles & Tokens with Native AOT and find out which parts of the series pass, which don't, and why.
Read more →We store Tiles & Tokens saved games in Postgres with EF Core 11: nested complex types in columns and JSON, indexes on nested complex properties, real execution plans, and an honest look at what EF Core 11 RC1 can't map yet - including unions.
Read more →Pause the game, close the app, and resume tomorrow. System.Text.Json in .NET 11 knows about unions - but how much of a C# 15 game state can it save and load out of the box? We find out what works natively, what needs an attribute, and what still needs a workaround on RC1.
Read more →Unions are great when the cases are unrelated. When they share behavior, C# 15's closed hierarchies give you a class hierarchy the compiler knows is complete. We model Tiles & Tokens victory conditions and placement rules, find the assembly boundary, and build a checklist for choosing between unions and closed types.
Read more →C# 15 adds native union types. We rebuild the Tiles & Tokens turn model as a union, let the compiler catch a missing case, replace a hand-rolled Result<T>, and look at how unions are lowered - including the empty default value the compiler won't warn you about.
Read more →It's your turn. You can roll, play a card, or pass. How does your code know which one happened? We kick off a series on C# 15 and .NET 11 domain modeling by looking at three common ways to model a game turn, and how each one lets bugs through.
Read more →Like so many things Aspire, a year makes all the difference, and support for AI coding agents has a whole new approach.
Read more →The Aspire dashboard is great. But sometimes you want your telemetry in a terminal.
Read more →I wrote about the Aspire CLI ten months ago. Here's what changed, and what I got wrong.
Read more →