Skip to content

ADR: Moving to .NET 11 in four ships

ADR: Moving to .NET 11 in four ships

Status: accepted, 2026-12-01, at 1.0.5.231. The first of the move's versions: the guards, still on .NET 10. Each later ship adds a section here.

Reading list

Read on 1 December 2026.

  1. ADR: Staying on .NET 10, and on xUnit v2 for now: the October record that said no and named three conditions; its addendum of this version dates them.
  2. ADR: Technology versions: the table every project file is held to, and the two pins with a measured reason.
  3. ADR: A second store on Cosmos DB, and what it costs: the addendum on the version bump, where Azure.Identity 1.21.0 left the live site on files, which is why that pin stays until a live read moves it.
  4. ADR: One traffic cop for main: one commit, one version, and a rollback that is an image swap.
  5. Microsoft's release metadata (builds.dotnet.microsoft.com, release-metadata/11.0/releases.json): 11.0.0 and SDK 11.0.100 released 10 November 2026, standard-term, supported to 14 November 2028, the same day .NET 10 ends.
  6. NuGet, read 1 December 2026 (api.nuget.org, each package's index and .nuspec): EF Core and ASP.NET Core 11.0.0 published 10 November with one dependency group, net11.0; Microsoft.EntityFrameworkCore.SqlServer 11.0.0 asks Microsoft.Data.SqlClient 7.1.1; every Microsoft.Data.SqlClient.Extensions.Azure from 7.0.2 to 7.1.2 asks Azure.Identity 1.18.0; Azure.Functions.Sdk 1.1.0 published 14 November.
  7. az functionapp list-flexconsumption-runtimes -l westus3 --runtime dotnet-isolated, read 1 December: 11.0 listed, end of support 14 November 2028.

In plain words

The site moves from .NET 10 to .NET 11, Microsoft's newest release. Most of a move like this either fails to build, which is loud and cheap, or builds and works. The expensive part is the handful of places where it builds, passes every test, ships green, and then does the wrong thing on the live site where nobody is looking. This record names those places for this site, puts a guard on each before anything moves, and then moves in steps small enough that going back is swapping one container image for the one before.

What that is worth: a developer gets a list of exactly what a runtime upgrade can break without a red build, each with the test that now goes red instead; the organization gets the newest runtime with nothing taken on trust and a rollback that was written down before it was needed.

Context

ADR-090 kept the site on .NET 10 in October until three things were true: 11.0 final; EF Core 11, the Cosmos DB SDK and the other packages stable against it; and something in it the site needs. Its addendum of this version dates each. The move was planned on 1 December and the plan named what could break quietly; reading the packages and measuring the runtime that morning added two the plan did not have.

What can ship green and break, for this site:

  • SQL sign-in. EF Core 11 brings SqlClient 7, which moved the Entra sign-in out of the driver into Microsoft.Data.SqlClient.Extensions.Azure. Both connection strings say Authentication=Active Directory Managed Identity. Without the package the string parses, every test passes, and the first open fails on the live site, which then comes up on SQLite; the deploy prints a warning and stays green.
  • The pin under it. Every 7.x of that extension asks Azure.Identity 1.18.0. The site is pinned to 1.17.1 because 1.21.0 made the managed identity token miss SqlClient's wait (ADR-059). So EF Core 11 cannot arrive with the pin unchanged, and a pin is moved only by the measurement that set it: a live read that the site is on Azure SQL Database.
  • The image's OS. The aspnet:11.0 image is Ubuntu 26.04; 10.0 was 24.04. The runtime stage installs curl with apt and runs as the image's own user. The gate builds the tree, not the image.
  • The OpenAPI version. ASP.NET Core 11 writes OpenAPI 3.2 by default; the reference page reads 3.1.
  • A background loop that throws. From .NET 11 a BackgroundService that faults ends the process with an error.
  • Rounding. Measured on the box: the same 400,000 roundings on 10.0.15 and 11.0.0. No random double moved. 13,095 of 200,000 short decimals ending in 5 did, by a whole digit, not a last place: 2.675 to cents is 2.68 on 10 and 2.67 on 11, and 3 of 2000 as a percent to one place is 0.2 on 10 and 0.1 on 11. The cast to decimal moved with it. Whole-number rounding, which the auction's windows use: 0 of 300,000 moved.
  • The Function's runtime. A net11.0 zip on a Flex app set to 10.0 does not start; the deploy only zips.

Decision

  1. Four ships, and a fifth step only where a pin demands it. Ship 1: the guards, on .NET 10 (this version). Ship 2: the SDK, the images and every project under api/, samples/ and server/ to net11.0, with the EF Core family held at 10.0.x, which runs on 11, because EF Core 11 moves the pin. Ship 2b: EF Core 11, SqlClient 7.1 with its Azure extension and Azure.Identity 1.18.0, the extension's floor, proven live on Azure SQL Database before PackagePinTests moves. Ship 3: the third-party packages, one family at a time. Ship 4: the job hunt Function, alone and last. Each ship starts only after the one before is live and CI on main is green.
  2. A guard before every quiet break, held by a test that goes red.
Guard What would ship green and break What holds it
G1 SQL sign-in the Entra provider missing from the process SqlSignInTests in both test projects: the keyword the deploy writes, parsed, has a provider from SqlAuthenticationProvider.GetProvider
G2 Runtime on the wire a roll onto the wrong runtime, read only from the commit framework on /api/version (in the OpenAPI document) and on /api/merger/health; both deploys print it; RuntimeOnTheWireTests, FunctionShapeTests
G3 OpenAPI version 3.2 by default under a reference page built for 3.1 ApiDocument.Configure sets 3.1; ApiDocumentTests holds the served field
G4 Hosted services one throwing store ends the process HostedServiceFaultTests: a keeper and a visitors' store that throw on every call never end ActivityCollector's loop, and the booted host has no faulted loop
G5 Image an image that will not build or start on its new OS scripts/image_check.sh builds, runs and reads /healthz, /readyz and /api/version on the box before every push of ships 2 to 4
G6 Rounding a cost or a percent on the Admin tab one digit off PrintedNumber.Round at every site whose input is a short decimal; RoundingTests holds the measured values, the sites and whole-number rounding
G7 Function shape a build that exposes fewer functions than Azure runs deploy-function.yml compares the publish's functions.metadata with Azure's list before the zip; FunctionShapeTests holds one trigger per function and the step's place
  1. G6 rounds the number as it prints. A site applies when its input can be a short decimal: money, a price times a count, a percent of two counts. Those round through PrintedNumber.Round, which rounds the shortest text that reads back as the same double, so the answer is a person's and the same on every runtime (800,000 results identical bit for bit on 10.0.15 and 11.0.0). NightlySlots is compiled into the Function as well and keeps to itself, so it rounds whole tenths of a per cent instead. Measurements (bytes, milliseconds, request units, CPU) and whole-number roundings do not apply.
  2. G5 is on the box, not in the gate. The gate's longest job, a browser shard, ran 9.1 minutes on 1.0.5.229; the image build alone is longer than that on a runner, so a gate job would lengthen every version to guard four. The box runs the script before each of those pushes and the lane's notes keep its minutes.
  3. Rollback is written before ship 2 is pushed. The last .NET 10 image tag and commit; the web app pointed back at that tag with the same az webapp config set the deploy uses; a revert through the cop with Fixes-main; the Function redeployed by hand at the last .NET 10 commit, whose runtime follows its project. Any live gate line red fifteen minutes after a roll means roll back first.

Consequences

  • What stops being true: that a runtime move is proven by a green gate. Each break above now turns a test red, or stops the deploy before it acts.
  • What stays true: no schema, migration or stored shape changes, so every ship rolls back as an image swap.
  • The cost: five versions instead of one, and a Function that runs .NET 10 for the days between ships 2 and 4, which the home page's tech stack table flags in the warning colour, as it was built to.
  • Not here: xUnit v3, Central Package Management, coverlet 10 and Node 26 are a lane of their own, and C# 15's union results another.

Where it sits

Under every ring: the runtime, the SDK and the packages every project builds on, and the two deploys that roll them. It serves the open-closed principle at the edge of the system: the rings do not change, only what they run on. It cost one version of guards before any version moved; a .NET 11 patch that changes any guarded behaviour, or a pin re-measured live, is what would change it.

Files

Addendum, 2026-12-01 (1.0.5.232): ship 2, the site, The Shed and the server on .NET 11

What stopped being true: that the site runs on .NET 10. global.json names SDK 11.0.100, the deploy image builds on sdk:11.0.100 and runs on aspnet:11.0 (Ubuntu 26.04), and every project under api/, samples/ and server/ targets net11.0. The Microsoft packages built with the framework are 11.0.0; the EF Core family and Identity's EF Core store stay on 10.0.15, the newest .NET 10 patch, which brings SqlClient 6.1.7 and asks Azure.Identity 1.17.1 exactly, so the pin and the sign-in are as they were.

What the move needed, and what found it:

  • Nothing in ApiDocument. Microsoft.OpenApi resolved to 3.11.0 and the document code compiled as it was; G3 holds the served document at 3.1.
  • One test that read a private name. ASP.NET Core 11 made the short-circuit metadata public (ShortCircuitAttribute behind IShortCircuitMetadata) and the internal ShortCircuitMetadata went away, so RequestPipelineTests, which matched it by name, now holds the two probes to the interface. The probes were short-circuited all along; only the test's way of seeing it broke.
  • Two new analyzer rules, in The Shed's tests only. CA2026 asks for JsonElement.Parse in place of JsonDocument.Parse(...).RootElement, which leaks the document; IDE0005 now finds using System.Net.Http.Json unnecessary where the SDK brings it. Both fixed in the code; no rule was turned off.
  • The box's runtime root. The machine lanes' units set DOTNET_ROOT to /usr/lib/dotnet, the apt install, which holds runtime 10.0.13 only and needs root to change, and the Function's pounce handoff writes the same into each slot run. The build on net11.0 would not have started there, and the first sign would have been a missed 6 AM run. All four now name the user's own ~/.dotnet, which holds 10 and 11 side by side, so the build still running today keeps running and the republish after this version starts; ServerRuntimeRootTests holds them together. The republish itself is a follow-on, after the next 6 AM run.
  • DotnetInstallTests reads the SDK's major from the API's TargetFramework instead of a typed 10, so the next move changes the project and global.json and the test follows.
  • G6, planted. With every short-decimal site put back on Math.Round, the whole API suite on .NET 11 passed except RoundingTests: no test that existed before would have caught a cost one cent off.

The job hunt's Function stays on net10.0 until ship 4, so the home page's tech stack table flags it, as its record says it will.

Addendum, 2026-12-01 (1.0.5.234): ship 2b, EF Core 11 and the pin

What stopped being true: that the site runs EF Core 10 and Azure.Identity 1.17.1. EF Core 11.0.0 brings Microsoft.Data.SqlClient 7.1.1, and its managed identity sign-in comes from Microsoft.Data.SqlClient.Extensions.Azure 7.1.1, which asks Azure.Identity 1.18.0, so the pin moves there and no further; 1.21.0, the version that failed in ADR-059, stays out. Proven before the push: with the extension removed the API built with no warning and every existing SQL test passed, and only G1 went red (Assert.NotNull() Failure: Value is null for both connection strings). EF Core 11 changed one metadata call the tests use, an index's members now typed IPropertyBase, and nothing in the product. The live proof is the one ADR-059 used: /api/health on both names reads Azure SQL Database after the roll; the reading and its time are in the lane's notes.

Addendum, 2026-12-01 (1.0.5.235): ship 3, the third-party packages, and OpenAPI 3.2

The packages that are not the framework's, each read on nuget.org or npm on 1 December 2026 and moved one family at a time with its suite: Microsoft.Azure.Cosmos 3.64.0, Scalar.AspNetCore 3.4.1 (a major, published that day), Microsoft.NET.Test.Sdk 18.12.0, Microsoft.Build.Sql 2.4.0, and on npm only patch releases (react and react-dom 19.3.1, @types/react 19.3.3, concurrently 10.0.7, sharp 0.35.6); every minor release waits for a version of its own. Microsoft.Agents.AI, Azure.Communication.Email, Azure.Monitor.OpenTelemetry.AspNetCore and NetArchTest had nothing newer. Scalar 3 needed no change to the code that configures it. G3 said the document moves to OpenAPI 3.2 only once the reference page draws it: with 3.2 set, the reference page's browser spec passed twice with no retry, so ApiDocument.Configure writes 3.2 and ApiDocumentTests holds it. The pins stay: coverlet.collector 6.0.4 and xunit 2.9.3 are a lane of their own.

Addendum, 2026-12-01 (1.0.5.237): ship 4, the job hunt's Function on .NET 11

What stopped being true: that the Function runs .NET 10. Every project under functions/ targets net11.0; the host project builds on Azure.Functions.Sdk 1.1.0, the project SDK the isolated worker needs for .NET 11, in place of the Microsoft.Azure.Functions.Worker.Sdk package (Worker 2.52.0 stays, above the 2.50.0 it asks); Microsoft.Data.SqlClient moves to 7.1.1 with Microsoft.Data.SqlClient.Extensions.Azure 7.1.1 for the campaign database's managed identity sign-in, Azure.Storage.Files.Shares to 12.28.1, and infra/jobhunt.bicep names dotnet-isolated 11.0. The deploy sets the Flex runtime from the project before the zip (ADR-098, its addendum of this version), so the Function's rollback is a redeploy of an older commit.

What the move needed, and what found it:

  • G7 caught the new SDK. Azure.Functions.Sdk writes no functions.metadata: the host asks the worker for its functions at start (worker indexing). The deploy's shape check, written in ship 1 to read that file, would have stopped this deploy with all 25 functions missing, which is what it is for. It now reads the published assembly when the file is absent (scripts/function_triggers.cs, a file-based C# program on the Web SDK, attributes read as data), and still reads the file for an older commit's build. Read on the box: 25 of 25, the same list Azure has.
  • G1 on the Function. With the sign-in package removed, SqlSignInTests went red and CampaignSqlTests passed.
  • Two NuGet rules. On net11.0 the framework carries System.Security.Cryptography.Pkcs, so naming it in a project that has the ASP.NET Core framework is refused (NU1510); the test project, which has not, still names it at 11.0.0 to keep SqlClient 7.1.1's Pkcs 9.0.18 and its two advisories out.
  • The SDK's restore hook. Restored through the test project, the Function's build warns AZFW0108; CI and the gate restore the Function itself first.

The home page's tech stack table flagged the Function's row from ship 2 to this version, and clears it here by itself, as ADR-089's addendum of 1.0.4.71 says it will.

Addendum, 2026-12-01 (1.0.5.239): ship 4b, the runtime written on the site itself

The Function's first .NET 11 deploy stopped before its zip on the runtime step: the CLI's runtime command reads the app's plan, which the deploy identity may not read. The guard did its job, the Function stayed on .NET 10 and answering, and the plan's fallback (a hand run of infra/jobhunt.bicep) was not needed: the step now patches the site's own functionAppConfig, which the identity may write (ADR-098, its addendum of this version). Running the bicep by hand was the other way, and it would also have replaced the app's whole settings list with the template's.

Enforced by

Not machine-checked. Held by review.

Store

The Yard, home

Steven StoutStaff .NET engineerRemote

Production .NET that stays up. Built with AI, measured on every version.

Steven Stout

Hi, I'm Steve. I build the systems that make delivery boring in the best way, then coach people inside them.

  • 200+

    production releases, none took the platform down

    Conway Investment Research, 2019 to 2024. Sole engineer for the first three years on a live financial advisory platform.

    See how
  • 50%

    shorter release cycle

    Storee Construction, 2024 to 2026. Four ASP.NET applications onto one .NET 10 platform on Azure, with a four-person team I hired and mentored.

    See how

01Verified

Steven Stout

A real person, and the work is mine.

  • Identity

    Checked by LinkedIn, not by me.

    LinkedIn verified my government ID.

  • Running system

    You are looking at it.

    Version 1.0.5.273 is live. Nothing ships unless it passes the automated gates first.

That's who I am. Here's how I work.

02Strengths

Ten strengths, each with the proof beside it. The numbers match my resume and LinkedIn, and the live ones are read from this site as you look.

  • 01

    Keeps production alive

    200+ releases on a live financial platform, and none took it down. Sole engineer for the first three years.

    See the Conway work

  • 02

    Simplifies messy systems

    Four ASP.NET applications onto one .NET 10 platform on Azure, and a release cycle 50% shorter.

    See the Storee work

  • 03

    Marries dev and infrastructure

    Blue-green releases at Storee that flipped in about 5 seconds with nobody signed out, and Azure Front Door at two employers.

    See this site's cloud

  • 04

    Designs data that holds up

    White-label clients on one shared database, the isolation built into the data, and no cross-client issues.

    See the Conway work

  • 05

    Keeps AI-written code honest

    15 quality numbers that may only improve: 273 releases in a row with none worse.

    See the quality numbers

  • 06

    Resourceful

    $30,000+ cut from Azure and vendor spend at Conway. This site's Azure bill is public, resource by resource.

    See the bill

  • 07

    Builds people up

    Hired and mentored a four-person team. 13 colleagues recommend me by name.

    Read the recommendations

  • 08

    Takes ideas to production

    This site: designed, built and run solo, with 352 versions measured through one gate.

    How it was built

  • 09

    Writes clearly

    Posts on real engineering problems, in plain words.

    Read the blog

  • 10

    Owns decisions

    153 decision records, each with its tradeoff and the call I made.

    See the decision records

Built with AI. Gated so quality never slides.

Steven Stout’s showcase: a used-vehicle auction on .NET and React, built and run by one engineer, live on Azure, with its decisions written down.

No quality number has gotten worse at any release since 1.0.5.1 on 10 November: 273 releases in a row.

One engineer, an AI agent and a gate that checks 15 quality numbers on every release. 352 versions measured, with every result public, the worst days included.

82 releases in the last 7 days, each through the same gate.

Async methods with no CancellationToken, may only fall

11091.0.3.1391.0.5.2731.0.4.115, the ratchet
Every number, on the Quality page

TheYard, right nowLive

Answering in

unread

02505007501,000

server time at p95, the usual five minutes of the last day.

Azure this month

unread

the bill, by resource, read from Azure. The Admin tab shows every line.

Since the last roll

unread

 

rolled in place by the pipeline, behind one gate.

People who have visited

unread

30 days agotoday

Scanners, my own tools' and my own reads left out.

03Start here

04Where teams are heading

How I see engineering with AI, and the setup on this site that backs it.

AI-augmented teams · Architecture and ownership

AI writes more of the code. Someone still has to own what ships.

Teams are going to be heavily AI-augmented. That moves the senior job toward architecture and technical ownership: deciding what to build in pieces small enough to verify, and owning what ships.

  • Task tracking will get automated too. Judgment stays human: seeing a design fail at scale before it does.
  • On this site the AI's first design held the whole catalogue in memory. I caught it when the App Service plan hit 82 per cent and moved the work to the store.

What the AI wrote, what I decided

07Tech stack

  •    
  •    
  •    

Read from the build, never typed by hand

What TheYard runs on

What we use, where it runs, its AWS twin, the version as built, and the file that proves it.

Cloud patterns, not one vendor: every Azure piece in this stack has a named AWS twin. Mapped, not yet run on AWS.

  • .NET 1114 projects
  • React 19.3TypeScript 7.0
  • Azure9 Bicep files
  • 11GitHub Actions workflows
The whole stack, with the file that proves each line

The last release the gate stopped was 1.0.5.258 on 2 December, at its browser 1 of 2 job.

08How it is built

09How it is run

10Who and why

Next step

11What has to work, where is it today, and what does success look like?

Book 20 minutes opens an email to me with those three questions in it, and I answer with a time.

Book 20 minutes

Your email app should have opened with this message. If it did not, copy it and send it from any mailbox.

Or message me on LinkedIn