Remove 'dotnet' prefix from aka.ms/aspire shortlinks#16176
Conversation
Updated all aka.ms/dotnet/aspire/* shortlinks to aka.ms/aspire/* across 96 files including source code, templates, localization files, and tests. Preserved aka.ms/dotnet/aspire/container-runtime-unhealthy (unchanged). Skipped AnalyzerReleases.Shipped.md (release notes) and /eng/ directory.
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
This PR updates Aspire documentation shortlinks across the repository by removing the dotnet prefix, changing https://aka.ms/dotnet/aspire/* to https://aka.ms/aspire/*.
Changes:
- Replaced
aka.ms/dotnet/aspire/*links withaka.ms/aspire/*in product code paths (hosting, CLI, dashboard). - Updated project templates and localization resources (
.json,.xlf,.resx) to match the new shortlink format. - Updated tests that assert link text/URLs to reflect the new shortlinks.
Reviewed changes
Copilot reviewed 94 out of 96 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| tests/TestingAppHost1/TestingAppHost1.ServiceDefaults/Extensions.cs | Updates service-defaults and healthchecks shortlinks in template/test service defaults comments. |
| tests/Aspire.Hosting.Tests/Dcp/DcpHostNotificationTests.cs | Updates asserted container docs URL in DCP notification tests. |
| tests/Aspire.Hosting.Tests/Dashboard/TransportOptionsValidatorTests.cs | Updates asserted allow-unsecured-transport docs URL in validator tests. |
| tests/Aspire.Hosting.RemoteHost.Tests/CapabilityDispatcherTests.cs | Updates networking docs URL in an error capability test. |
| tests/Aspire.Cli.Tests/Mcp/Docs/LlmsTxtParserTests.cs | Updates embedded update-latest link in docs parsing test content. |
| src/Aspire.ProjectTemplates/templates/aspire-ts-cs-starter/Aspire-StarterApplication.1.Server/Extensions.cs | Updates service-defaults/healthchecks shortlinks in template code comments. |
| src/Aspire.ProjectTemplates/templates/aspire-starter/Aspire-StarterApplication.1.ServiceDefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in template code comments. |
| src/Aspire.ProjectTemplates/templates/aspire-servicedefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in template code comments. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.zh-Hant.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.zh-Hans.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.tr.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.ru.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.pt-BR.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.pl.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.ko.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.ja.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.it.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.fr.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.es.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.de.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-js-frontend-starter/.template.config/localize/templatestrings.cs.json | Updates containers shortlink in localized template strings. |
| src/Aspire.ProjectTemplates/templates/aspire-empty/AspireApplication.1.ServiceDefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in template code comments. |
| src/Aspire.Hosting/VersionChecking/VersionCheckService.cs | Updates update-latest shortlink used by version check notification. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.zh-Hant.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.zh-Hans.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.tr.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.ru.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.pt-BR.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.pl.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.ko.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.ja.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.it.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.fr.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.es.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.de.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/xlf/InteractionStrings.cs.xlf | Updates containers shortlink in localized interaction strings. |
| src/Aspire.Hosting/Resources/InteractionStrings.resx | Updates containers shortlink in primary resource string. |
| src/Aspire.Hosting/DistributedApplication.cs | Updates testing shortlink in XML docs. |
| src/Aspire.Hosting/Dcp/DcpHost.cs | Updates containers shortlink used by runtime notification. |
| src/Aspire.Hosting/Dcp/DcpDependencyCheck.cs | Updates containers shortlink in logs/exceptions for runtime checks. |
| src/Aspire.Hosting/Dashboard/TransportOptionsValidator.cs | Updates allowunsecuredtransport shortlink in validation errors. |
| src/Aspire.Hosting.Azure/api/Aspire.Hosting.Azure.cs | Updates diagnostics shortlink used in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.zh-Hant.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.zh-Hans.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.tr.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.ru.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.pt-BR.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.pl.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.ko.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.ja.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.it.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.fr.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.es.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.de.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/xlf/AzureProvisioningStrings.cs.xlf | Updates azure/provisioning shortlink in localized provisioning strings. |
| src/Aspire.Hosting.Azure/Resources/AzureProvisioningStrings.resx | Updates azure/provisioning shortlink in primary resource string. |
| src/Aspire.Hosting.Azure/Provisioning/Provisioners/AzureProvisioner.cs | Updates azcli and azure/provisioning shortlinks in provisioning errors. |
| src/Aspire.Hosting.Azure/PrivateEndpointTargetAnnotation.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure/IAzurePrivateEndpointTarget.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure/IAzureNspAssociationTarget.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure/IAzureDelegatedSubnetResource.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure/DelegatedSubnetAnnotation.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure/AzureEnvironmentResource.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure.Sql/api/Aspire.Hosting.Azure.Sql.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure.Sql/AzureSqlExtensions.cs | Updates diagnostics shortlink in Experimental attribute metadata. |
| src/Aspire.Hosting.Azure.Network/AssemblyInfo.cs | Updates diagnostics shortlink in assembly-level Experimental metadata. |
| src/Aspire.Dashboard/Resources/xlf/Columns.zh-Hant.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.zh-Hans.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.tr.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.ru.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.pt-BR.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.pl.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.ko.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.ja.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.it.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.fr.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.es.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.de.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/Resources/xlf/Columns.cs.xlf | Updates container-runtime-unhealthy shortlink in localized dashboard text. |
| src/Aspire.Dashboard/README.md | Updates telemetry collection shortlink in dashboard README. |
| src/Aspire.Dashboard/Components/Layout/MobileNavMenu.razor.cs | Updates repo shortlink opened from the mobile nav menu. |
| src/Aspire.Dashboard/Components/Layout/MainLayout.razor | Updates repo shortlink used by the header repo link. |
| src/Aspire.Dashboard/Components/Dialogs/HelpDialog.razor | Updates dashboard help shortlink. |
| src/Aspire.Dashboard/Components/Controls/Chart/ChartContainer.razor | Updates cardinality-limits shortlink in overflow message. |
| src/Aspire.Dashboard/Components/Controls/AssistantChat.razor | Updates Copilot-related shortlinks for help/error text. |
| src/Aspire.Cli/Utils/EnvironmentChecker/ContainerRuntimeCheck.cs | Updates containers shortlink returned in environment check results. |
| playground/seq/Seq.ServiceDefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in playground service defaults comments. |
| playground/orleans/OrleansServiceDefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in playground service defaults comments. |
| playground/TestShop/TestShop.ServiceDefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in playground service defaults comments. |
| playground/Playground.ServiceDefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in playground service defaults comments. |
| playground/AspireWithNode/AspireWithNode.ServiceDefaults/Extensions.cs | Updates healthchecks shortlink in playground service defaults comment. |
| playground/AspireWithMaui/AspireWithMaui.ServiceDefaults/Extensions.cs | Updates service-defaults/healthchecks shortlinks in playground service defaults comments. |
| playground/AspireWithMaui/AspireWithMaui.MauiServiceDefaults/Extensions.cs | Updates service-defaults shortlink in playground service defaults comment. |
| playground/AspireWithJavaScript/AspireJavaScript.ServiceDefaults/Extensions.cs | Updates healthchecks shortlink in playground service defaults comment. |
Files not reviewed (2)
- src/Aspire.Hosting.Azure/Resources/AzureProvisioningStrings.Designer.cs: Language not supported
- src/Aspire.Hosting/Resources/InteractionStrings.Designer.cs: Language not supported
Comments suppressed due to low confidence (1)
src/Aspire.Cli/Utils/EnvironmentChecker/ContainerRuntimeCheck.cs:1
- The same
https://aka.ms/aspire/containersvalue is repeated multiple times in this file. Consider introducing a singleconst string/static readonly field for the containers doc link (and reusing it), which reduces future churn if the shortlink changes again and prevents accidental divergence.
// Licensed to the .NET Foundation under one or more agreements.
| <source>Container runtime was found but appears to be unhealthy. Ensure that it is running. | ||
| For more information, see https://aka.ms/dotnet/aspire/container-runtime-unhealthy</source> | ||
| For more information, see https://aka.ms/aspire/container-runtime-unhealthy</source> | ||
| <target state="translated">找到容器執行階段,但似乎狀況不良。確保它執行中。 | ||
| 如需詳細資訊,請參閱 https://aka.ms/dotnet/aspire/container-runtime-unhealthy</target> | ||
| 如需詳細資訊,請參閱 https://aka.ms/aspire/container-runtime-unhealthy</target> |
There was a problem hiding this comment.
The PR description says https://aka.ms/dotnet/aspire/container-runtime-unhealthy was intentionally preserved, but this change updates it to https://aka.ms/aspire/container-runtime-unhealthy (and the same update appears across other Columns.*.xlf files). Either revert these container-runtime-unhealthy updates to keep the dotnet prefix, or update the PR description/scope to reflect that this link is no longer preserved.
There was a problem hiding this comment.
@copilot apply changes based on this feedback revert the container-runtime-unhealthy update
There was a problem hiding this comment.
Reverted in all 13 Columns.*.xlf files — the container-runtime-unhealthy URL now uses https://aka.ms/dotnet/aspire/container-runtime-unhealthy again (commit 98fd278).
… prefix Agent-Logs-Url: https://github.com/microsoft/aspire/sessions/14c54ff2-a7dc-452d-b291-85b2deae5052 Co-authored-by: adamint <20359921+adamint@users.noreply.github.com>
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 16176Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 16176" |
|
Docs check: No documentation PR is required for this change. This PR performs an internal URL normalization — updating
|
Description
Remove the
dotnetprefix from allaka.ms/dotnet/aspire/*shortlinks, updating them toaka.ms/aspire/*across the repository.Summary of changes:
service-defaults,healthchecks,containers,diagnostics,update-latest,allowunsecuredtransport,testing,repo,cardinality-limits,copilot-pro,copilot-vs-login,copilot-vscode-login,copilot-free-signup,azcli,azure/provisioning,dashboard,microsoft-collected-telemetryPreserved (intentionally unchanged):
https://aka.ms/dotnet/aspire/container-runtime-unhealthy— kept as-is (being changed in separate pr)AnalyzerReleases.Shipped.md— release notes should not be modified/eng/directory — excluded from scopeChecklist