-
Notifications
You must be signed in to change notification settings - Fork 46
Add generic "Upgrade Aspire" article under What's new #322
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f53f634
Initial plan
Copilot 4fb0b71
Add Upgrade Aspire article and update sidebar configuration
Copilot 83f4fac
Fix typo and remove broken link in Upgrade Aspire article
Copilot 96ce902
refactor: streamline Upgrade Aspire article and remove legacy content
IEvangelist d224f17
fix: update Upgrade Aspire article for clarity and accuracy
IEvangelist 4084a8e
chore: remove outdated setup and tooling link from Upgrade Aspire art…
IEvangelist 02df742
fix: update link to installation instructions for Aspire CLI in Upgra…
IEvangelist bfea946
fix: clarify upgrade instructions and remove outdated content in Upgr…
IEvangelist File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
86 changes: 86 additions & 0 deletions
86
src/frontend/src/content/docs/whats-new/upgrade-aspire.mdx
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,86 @@ | ||
| --- | ||
| title: Upgrade Aspire | ||
| description: Learn how to upgrade your Aspire projects to the latest version. | ||
| --- | ||
|
|
||
| import { Aside, Steps } from '@astrojs/starlight/components'; | ||
| import { Kbd } from 'starlight-kbd/components'; | ||
| import LearnMore from '@components/LearnMore.astro'; | ||
|
|
||
| Upgrading Aspire involves updating the **Aspire CLI** itself, the **Aspire SDK**, and all related **packages** in your solution. The `aspire update` command handles most of this for you, but you may also need to review breaking changes and update tooling extensions. | ||
|
|
||
| <Aside type="note"> | ||
| If you're new to Aspire, there's no reason to upgrade anything. See [prerequisites](/get-started/prerequisites/) and [install Aspire CLI](/get-started/install-cli/) to get started. | ||
| </Aside> | ||
|
|
||
| ## Upgrade with the Aspire CLI | ||
|
|
||
| <Steps> | ||
|
|
||
| 1. **Update the Aspire CLI** to the latest version: | ||
|
|
||
| ```bash title="Update the Aspire CLI" | ||
| aspire update --self | ||
| ``` | ||
|
|
||
| 2. **Update your Aspire solution** by running: | ||
|
|
||
| ```bash title="Update your Aspire solution" | ||
| aspire update | ||
| ``` | ||
|
|
||
| This command automatically: | ||
|
|
||
| - Updates the [`Aspire.AppHost.Sdk` version](/get-started/aspire-sdk/) | ||
| - Updates all Aspire NuGet packages to the latest version | ||
| - Supports both regular projects and Central Package Management (CPM) | ||
|
|
||
| </Steps> | ||
|
|
||
| <LearnMore> | ||
| For more information, see [`aspire update` command reference](/reference/cli/commands/aspire-update/). | ||
| </LearnMore> | ||
|
|
||
| ## Update the VS Code extension (optional) | ||
|
|
||
| If you have the Aspire extension installed, you can update it to get the latest tooling support: | ||
|
|
||
| <Steps> | ||
|
|
||
| 1. Open VS Code | ||
| 2. Go to **Extensions** (<Kbd windows="Ctrl+Shift+X" mac="Cmd+Shift+X" />) | ||
| 3. Search for **Aspire** | ||
| 4. Click **Update** if an update is available | ||
|
|
||
| </Steps> | ||
|
|
||
| <LearnMore> | ||
| For more information, see [Aspire extension for VS Code](/get-started/aspire-vscode-extension/). | ||
| </LearnMore> | ||
|
|
||
| ## Remove the legacy workload (Aspire 8 only) | ||
|
|
||
| Still rocking the Aspire workload? No judgment here—we've all been there. 🕰️ Time to let it go and join us in the future! | ||
IEvangelist marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
|
||
| <Aside type="tip"> | ||
| This step is only needed if you're upgrading from Aspire 8. If you're already on Aspire 9 or later, you're good. | ||
| </Aside> | ||
|
|
||
| Please remove the **aspire workload** with the following command: | ||
|
|
||
| ```bash | ||
| dotnet workload uninstall aspire | ||
| ``` | ||
|
|
||
| ## Verify the upgrade | ||
|
|
||
| After upgrading, run your application to ensure everything works as expected: | ||
|
|
||
| ```bash title="Run the Aspire application" | ||
| aspire run | ||
| ``` | ||
|
|
||
| ## Need help? | ||
|
|
||
| - 🆘 Stuck? [Join the Discord community](https://discord.com/invite/raNPcaaSj8) for real-time support | ||
| - 🐛 Found a bug? [File a GitHub issue](https://github.com/dotnet/aspire/issues/new/choose) | ||
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.