Adopt .NET 11 without surprises

#635 – November 22, 2026

a canary pipeline lets you track .NET upgrade costs gradually

Adopt .NET 11 without surprises: Build a canary pipeline
6 minutes by Mitchel Sellers

Setting up a canary build lets you track .NET upgrade costs gradually rather than all at once. A single property in Directory.Build.props controls the target framework, so switching to .NET 11 for testing is just a command-line flag. A weekly CI job builds and tests against the new version without blocking production. When it stays green and your hosting checklist clears, you have real data to make the upgrade decision.

.NET 11 is here, and so is Rider 2026.3: day-one support, full C# 15, and agents with IDE tools
sponsored by Jetbrains

Rider 2026.3 is ready for .NET 11 from day one, with net11.0 templates, all C# 15 features, and Runtime Async debugging. Your coding agents are now in Rider too: run Claude Agent, Codex, GitHub Copilot, Junie, and more on subscriptions you have, send line-level feedback on their diffs, and let them use Rider features to you be more confident in your code. A new Files view covers your whole repo.

How to authenticate server-sent events in ASP.NET Core
10 minutes by Paul Karam

SSE works over standard HTTP, so authentication is possible, but the method depends on your client. The built-in browser EventSource API cannot send custom headers, so you need workarounds like cookies, short-lived tokens passed as query parameters, or the fetch-event-source library. For non-browser clients, HttpClient handles bearer tokens directly. Paul points out the best choice depends on your stack: use cookies when available, fetch-event-source for browser bearer tokens, and HttpClient for .NET clients.

QuickCheck property: Uncategorised bill
10 minutes by Mark Seemann

Properties and data structures get defined first, before any real logic. A Budget holds a total limit and a map of category limits, while a bill is a list of Items, each with a cost, count, and set of categories. The first property checks that a bill with no categories is affordable only when its total cost stays within the total limit. This simple rule drives an equally simple implementation, though more complex properties will follow.

Publish events, send commands
7 minutes by Irina Dominte

This article explains the difference between commands and events in publish-subscribe messaging. Commands ask one specific service to perform an action, while events announce something that has already happened. Using pub/sub for commands can cause problems such as duplicate actions or missed tasks. Irina also covers message ownership, schema changes, and practical guidelines for choosing the right messaging approach.

Union types in C# 15: The most awaited feature in 6 years
27 minutes by Anton Martyniuk

C# 15 adds union types, letting a value be exactly one of a fixed set of types. The compiler knows all valid cases, so pattern matching becomes exhaustive and a missing case is a build error, not a runtime surprise. Closed hierarchies bring the same guarantee to class hierarchies. System.Text.Json and ASP.NET Core support unions in JSON bodies out of the box.

And the most popular article from the last issue was:

newsletters