Add consolidated Aspire 13.x migration guide for 9.x upgrades#432
Open
Add consolidated Aspire 13.x migration guide for 9.x upgrades#432
Conversation
Co-authored-by: IEvangelist <7679720+IEvangelist@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create migration guide for Aspire 13.x breaking changes
Add consolidated Aspire 13.x migration guide for 9.x upgrades
Feb 18, 2026
IEvangelist
approved these changes
Feb 18, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a consolidated “Migration guide” section to the Aspire 13 “What’s new” page to provide an actionable upgrade path from Aspire 9.x to 13.x, consolidating breaking changes from 13.0 and 13.1 into a checklist + focused migration subsections.
Changes:
- Introduces a 10-step quick migration checklist for upgrading CLI, packages, and key breaking changes.
- Adds structured migration subsections for package renames, JavaScript hosting API changes, lifecycle hooks → eventing, publishing callbacks → pipeline steps, connection property renames, Azure Redis rename, and
EndpointReference.GetValueAsync()behavior. - Provides before/after code examples and a connection property/environment variable rename table.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
IEvangelist
approved these changes
Feb 18, 2026
IEvangelist
approved these changes
Feb 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aspire 13.0/13.1 introduced breaking changes across packages, APIs, and behaviors. Existing what's-new documentation was comprehensive but not organized as an actionable upgrade path, causing compilation errors for users migrating from 9.x.
Changes
Consolidated migration guide at
whats-new/aspire-13/#migration-guidecovering:Aspire.Hosting.NodeJs→Aspire.Hosting.JavaScriptAddNpmApp()removed →AddJavaScriptApp().WithRunScript()AddNodeApp()refactored: absolute paths → appDirectory + relative scriptPathIDistributedApplicationLifecycleHook→IDistributedApplicationEventingSubscriberWithPublishingCallback()→WithPipelineStepFactory()Model→ModelName,Database→DatabaseNameacross GitHub Models, OpenAI, Milvus, MongoDB, MySQL, OracleAddAzureRedisEnterprise()→AddAzureManagedRedis()EndpointReference.GetValueAsync()now waits for allocation instead of throwing immediatelyKey migration examples
JavaScript apps:
Lifecycle hooks:
Screenshots
Quick migration checklist:

JavaScript API migrations:

Connection property renames (13.1):

Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/repos/CommunityToolkit/Aspire/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/CommunityToolkit/Aspire/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build git log �� %aE ���� --follow s/.bin/git udes/config-settgit --follow it git log �� %aE ���� --follow escript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bin/../../../../../../pagefind@1.4 udes/option-versgit --follow 0/x64/lib/node_m--pretty=format:������������ %H �� %aI �� %s �� %D �� %b �� %aN �� %aE ���� git(http block)https://api.github.com/repos/dotnet/aspire/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/dotnet/aspire-samples/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/dotnet/aspire-samples/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build git log �� %aE ���� --follow s/.bin/git udes/config-settgit --follow it git log �� %aE ���� --follow escript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bin/../../../../../../pagefind@1.4 udes/option-versgit --follow 0/x64/lib/node_m--pretty=format:������������ %H �� %aI �� %s �� %D �� %b �� %aN �� %aE ���� git(http block)https://api.github.com/repos/dotnet/aspire/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build git log �� %aE ���� --follow s/.bin/git udes/config-settgit --follow it git log �� %aE ���� --follow escript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bin/../../../../../../pagefind@1.4 udes/option-versgit --follow 0/x64/lib/node_m--pretty=format:������������ %H �� %aI �� %s �� %D �� %b �� %aN �� %aE ���� git(http block)https://api.github.com/repos/microsoft/aspire.dev/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/microsoft/aspire.dev/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build git log �� %aE ���� --follow s/.bin/git udes/config-settgit --follow it git log �� %aE ���� --follow escript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bin/../../../../../../pagefind@1.4 udes/option-versgit --follow 0/x64/lib/node_m--pretty=format:������������ %H �� %aI �� %s �� %D �� %b �� %aN �� %aE ���� git(http block)https://api.github.com/repos/microsoft/dcp/home/REDACTED/work/_temp/ghcca-node/node/bin/node node ./scripts/update-github-stats.js(http block)https://api.github.com/repos/microsoft/dcp/contributors/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(http block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build git log �� %aE ���� --follow s/.bin/git udes/config-settgit --follow it git log �� %aE ���� --follow escript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bin/../../../../../../pagefind@1.4 udes/option-versgit --follow 0/x64/lib/node_m--pretty=format:������������ %H �� %aI �� %s �� %D �� %b �� %aN �� %aE ���� git(http block)learn.microsoft.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build git log �� %aE ���� --follow s/.bin/git udes/config-settgit --follow it git log �� %aE ���� --follow escript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bin/../../../../../../pagefind@1.4 udes/option-versgit --follow 0/x64/lib/node_m--pretty=format:������������ %H �� %aI �� %s �� %D �� %b �� %aN �� %aE ���� git(dns block)telemetry.astro.build/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js build git log �� %aE ���� --follow s/.bin/git udes/config-settgit --follow it git log �� %aE ���� --follow escript@5.9.3_/node_modules/@astrojs/starlight/node_modules/.bin/../../../../../../pagefind@1.4 udes/option-versgit --follow 0/x64/lib/node_m--pretty=format:������������ %H �� %aI �� %s �� %D �� %b �� %aN �� %aE ���� git(dns block)/home/REDACTED/work/_temp/ghcca-node/node/bin/node node /home/REDACTED/work/aspire.dev/aspire.dev/src/frontend/node_modules/.bin/../astro/astro.js preview git log %D �� %b �� %aN src/frontend/src/content/docs/whats-new/upgrade-aspire.mdx --follow it udes/option-waitsh --follow modules/@npmcli/"pagefind" --site ../../../../../../dist git log %D �� %b �� %aN �� %aE ���� --follow /node-gyp-bin/node ference/cli/commsh --follow k/aspire.dev/nodpnpm --dir ./src/frontend run preview git(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.