Series: Tiles & Tokens

6 posts in this series

Series: Tiles & Tokens

Exploring C# 15 and .NET 11 by modeling a board game: discriminated unions, closed hierarchies, System.Text.Json, EF Core 11, and Native AOT.

  1. Tiles & Tokens
    October 13, 2026

    Three common ways to model a game turn in C# all let bugs through. We kick off a series on domain modeling with C# 15 and .NET 11 using a small board game.

  2. Tiles & Tokens
    October 15, 2026

    C# 15 adds native union types. Model a board game turn as a union, get exhaustive matching, replace a hand-rolled Result<T>, and avoid the default-value gotcha.

  3. Tiles & Tokens
    October 20, 2026

    C# 15 closed hierarchies give you class hierarchies the compiler knows are complete. Learn the rules, the assembly boundary, and when to pick them over unions.

  4. Tiles & Tokens
    October 22, 2026

    .NET 11 System.Text.Json understands C# 15 unions. We save and load game state to see what works natively, what needs an attribute, and what needs a workaround.

  5. Tiles & Tokens
    October 27, 2026

    Store and query nested game state in Postgres with EF Core 11 complex types, JSON columns, and nested property indexes, plus what RC1 can't map yet.

  6. Tiles & Tokens
    October 29, 2026

    Can a C# 15 app built on unions, closed hierarchies, and System.Text.Json compile with Native AOT? We publish Tiles & Tokens to find out what passes and why.