Why did .NET Aspire 9.5 become Aspire 13, and what changes when you upgrade an Aspire 9 solution to 13?
answer
- ".NET" dropped, aspire.dev
- no 10, 11 or 12
- .NET 10 SDK required
- Aspire.AppHost.Sdk/13.x as the project SDK
- aspire update; 8.x goes via 9 first
basics
~20 sAt 13.0 (November 2025) .NET Aspire dropped its .NET prefix, moved its docs to aspire.dev and jumped from 9.5 to 13, with no stated reason for skipping 10 to 12. Upgrading needs the .NET 10 SDK and runs through aspire update.
solid answer
~50 sAspire 13.0 shipped on 2025-11-11 as the release after 9.5: "The product is now called Aspire", the documentation moved to aspire.dev, and versions 10, 11 and 12 were never released — the docs state the jump without explaining it, so the honest answer is "renamed and renumbered with the .NET 10 wave". It requires the .NET 10 SDK. To upgrade, update the CLI and run `aspire update`, which moves the AppHost to `<Project Sdk="Aspire.AppHost.Sdk/13.x">` — the SDK now carries `Aspire.Hosting.AppHost`, so that package reference disappears — and bumps every Aspire package, Central Package Management included. Breaking changes to expect: `Aspire.Hosting.NodeJs` became `Aspire.Hosting.JavaScript` with `AddJavaScriptApp` replacing `AddNpmApp`; the 9.x publishing callbacks were removed in favour of `aspire do` pipeline steps; lifecycle hooks are obsolete in favour of eventing subscribers. A solution on 8.x upgrades to 9 first and removes the old workload.
code
xml · 14 lines<!-- Ticketing.AppHost.csproj after aspire update -->
<Project Sdk="Aspire.AppHost.Sdk/13.6.0">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net10.0</TargetFramework>
<UserSecretsId>ticketing-apphost</UserSecretsId>
</PropertyGroup>
<ItemGroup>
<!-- No Aspire.Hosting.AppHost reference: the SDK carries it -->
<PackageReference Include="Aspire.Hosting.PostgreSQL" Version="13.6.0" />
<PackageReference Include="Aspire.Hosting.JavaScript" Version="13.6.0" />
<ProjectReference Include="..\Ticketing.Api\Ticketing.Api.csproj" />
</ItemGroup>
</Project>go deeper
Recall the facts: .NET Aspire 9.5 was followed by Aspire 13.0 in November 2025, the docs moved to aspire.dev, and 13 needs the .NET 10 SDK.
Explain what aspire update changes — the Aspire.AppHost.Sdk project SDK, the dropped Aspire.Hosting.AppHost reference, package versions — and the 8.x-via-9 path.
Plan the code changes: JavaScript hosting renames, publishing callbacks replaced by pipeline steps, obsolete lifecycle hooks, and minor-version behaviour changes after 13.0.
Sequence the upgrade across many services, separating the AppHost's SDK requirement from each service's target framework and release cadence.
## The rename and the version jump The orchestration stack shipped as **.NET Aspire** 8.0 through 9.5. Its next release, **13.0** on 2025-11-11, changed three things at once: - **Name.** "The product is now called Aspire" — the .NET prefix is gone, and the same release notes describe Aspire as a multi-language platform with Python and JavaScript as first-class citizens (13.2 later added TypeScript AppHosts in preview). - **Home.** Documentation moved to **aspire.dev**, and the repository is now `microsoft/aspire`. - **Number.** There was no 10, 11 or 12. The docs record the jump but give no reason, so an interview answer should not invent one; "renamed and renumbered alongside .NET 10" is as far as the sources go. Aspire 13 **requires the .NET 10 SDK**. That is an SDK requirement for building the AppHost: client integration packages in the 13.x line still target `net8.0`, `net9.0` and `net10.0`, so services do not all have to move to .NET 10 at once. ## The upgrade path 1. **From 8.x:** upgrade to 9.x first, following the upgrade guide, and remove the legacy workload with `dotnet workload uninstall aspire` — Aspire 9 replaced the workload with NuGet packages and an SDK. 2. **Update the CLI** with the install script from aspire.dev. 3. **Run `aspire update`** in the solution. It updates the `Aspire.AppHost.Sdk` version, moves every Aspire package to 13.x, resolves dependencies, and supports Central Package Management. 4. **Refresh templates** with `dotnet new install Aspire.ProjectTemplates`. 5. **Fix breaking changes** the compiler reports (below), then run the AppHost and check the dashboard. ## What the AppHost project looks like afterwards | | 9.x | 13.x | |---|---|---| | Project SDK | `Microsoft.NET.Sdk` plus `<Sdk Name="Aspire.AppHost.Sdk" Version="9.5.2" />` | `<Project Sdk="Aspire.AppHost.Sdk/13.x">` | | `Aspire.Hosting.AppHost` | explicit `PackageReference` | carried by the SDK; reference removed | | Single-file AppHost | not available | `#:sdk [email protected]` in `apphost.cs` | ## Breaking changes worth naming - **JavaScript hosting:** `Aspire.Hosting.NodeJs` was renamed `Aspire.Hosting.JavaScript`; `AddNpmApp` is replaced by `AddJavaScriptApp` (or `AddViteApp`), which has no `args` parameter — scripts go in `package.json`. - **Publishing:** the 9.x publishing infrastructure — `WithPublishingCallback`, `PublishingContext`, `IDistributedApplicationPublisher` and friends — was replaced by the pipeline that `aspire publish`, `aspire deploy` and `aspire do` drive. The `ASPIREPUBLISHERS001` diagnostic became `ASPIREPIPELINES001`–`003`. - **Lifecycle hooks:** `IDistributedApplicationLifecycleHook` and `AddLifecycleHook<T>()` are obsolete; use `IDistributedApplicationEventingSubscriber` and `AddEventingSubscriber<T>()`. - **CLI:** `aspire run --watch` was removed in favour of a feature flag. ## After 13.0 The 13.x minors kept changing behaviour that deployments depend on, which is why an upgrade plan names the target minor: 13.2 renamed connection properties such as `DATABASE` to `DATABASENAME`, and 13.6 added portable connection-string names and SQLite-backed dashboard history. Read each minor's what's-new page before jumping several at once. ## A worked upgrade: the ticketing solution A ticketing solution on 9.5 with an AppHost, ServiceDefaults, an API and a Vite front end typically goes through these edits: - `aspire update` rewrites the AppHost project to the 13.x SDK and bumps `Aspire.Hosting.PostgreSQL`, `Aspire.Hosting.Redis` and the client packages in the services. - The front end's `AddNpmApp("web", "../Ticketing.Web", "dev")` becomes `AddViteApp(...)` from `Aspire.Hosting.JavaScript`, and any script arguments move into `package.json`. - A custom `WithPublishingCallback` that wrote an nginx config at publish time becomes a pipeline step. - CI images and build agents move to the .NET 10 SDK, while the API can stay on `net9.0` until its own upgrade. ## How to talk about it in an interview - Say "Aspire 13" for the current product and ".NET Aspire 9" for the previous line. - Do not describe 10–12 as skipped for compatibility with .NET version numbers or any other reason; the sources do not say. - Mention the SDK requirement and `aspire update` as the mechanical path, and the JavaScript and publishing changes as the code you actually touch.
- Does upgrading the AppHost to Aspire 13 force every service onto .NET 10?No. The .NET 10 SDK is required to build, but the 13.x client integration packages still target `net8.0`, `net9.0` and `net10.0`, and the AppHost template still offers `net8.0` as a target-framework choice. Services can move to .NET 10 on their own schedule.
- What replaces a 9.x WithPublishingCallback that wrote a custom file during publish?A pipeline step. Aspire 13 removed `WithPublishingCallback` and the publishing context types; resources now contribute named `PipelineStep`s with dependencies, which `aspire publish`, `aspire deploy` or `aspire do <step>` execute.
- Aspire 10, 11 and 12 shipped as previews before 13.0 arrived.
- Aspire 13 still needs the aspire workload installed with dotnet workload install.
- An 8.x solution can jump straight to 13 with aspire update and no 9.x stop.
- Aspire.Hosting.NodeJs and AddNpmApp still work unchanged in Aspire 13.
- Aspire 13 requires every service project to target net10.0.
Assumes Aspire 13.6 as the current line: 13.0 (2025-11-11) followed 9.5, required the .NET 10 SDK and introduced the breaking changes listed; 13.2 and 13.6 changed connection naming and dashboard storage.