Skip to content

[App Service] az webapp create/list-runtimes: Support legacy dotnet runtime identifier input - #34057

Open
aamos-company wants to merge 6 commits into
Azure:devfrom
aamos-company:developer/amberamos/dotnetstandardization
Open

aamos-company wants to merge 6 commits into
Azure:devfrom
aamos-company:developer/amberamos/dotnetstandardization

Conversation

@aamos-company

@aamos-company aamos-company commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

🤖 PR Validation — ️✔️ All clear

Tests
️✔️ 130/130

Related command
az webapp create --runtime 
 az webapp up --runtime 
 az webapp config set --runtime 
 az webapp deployment github-actions add --runtime 

Description
Support equivalent .NET runtime identifiers for version 11 and later, including  dotnet|11 ,  DOTNET|11.0 , and  DOTNETCORE|11.0 .

Normalize both the requested runtime and catalog identifiers during lookup so either naming format can resolve against the available catalog. Preserve the catalog’s original .NET display names and configuration values rather than standardizing  az webapp list-runtimes  output.

Existing Node runtime standardization and older .NET compatibility mappings remain unchanged. Apply the shared runtime normalization to GitHub Actions runtime input as well.

Before: dotnet|11.0 accepted as runtime input
image

After: dotnetcore|11.0 now accepted as runtime input
image
Confirmed that previous Node changes are still working as expected.

Testing Guide
az webapp create --resource-group --plan --name --runtime "dotnet:11"
az webapp create --resource-group --plan --name --runtime "dotnet:11.0"

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature


This checklist is used to make sure that common guidelines for a pull request are followed.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 10, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution aamos-company! We will review the pull request and get back to you soon.

@yonzhan

Copy link
Copy Markdown
Collaborator

appservice

aamos-company and others added 2 commits October 23, 2026 07:19
Keep Node runtime output standardization, preserve .NET catalog identifiers, and translate runtime aliases during lookup.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 89bcc1c0-2a1a-4740-a464-7d431a8d617e
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 89bcc1c0-2a1a-4740-a464-7d431a8d617e
@aamos-company aamos-company changed the title Developer/amberamos/dotnetstandardization [App Service] az webapp create/list-runtimes: Support legacy dotnet runtime identifier input Oct 23, 2026
@aamos-company
aamos-company marked this pull request as ready for review October 23, 2026 16:16
Copilot AI balanced review requested due to automatic review settings October 23, 2026 16:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Normalized .NET identifiers cannot select a GitHub Actions workflow template because both platform maps lack the dotnet alias.

1 open issue
What changed in this PR

This PR extends App Service runtime lookup to accept equivalent .NET 11+ identifiers while preserving the catalog’s display names and configuration values.

Changes:

  • Normalize requested and catalog .NET identifiers during runtime lookup.
  • Apply shared runtime normalization to GitHub Actions input.
  • Add tests for .NET compatibility, unchanged catalog output, and Node aliases.
File Description
src/​azure-cli/​azure/​cli/​command_modules/​appservice/​tests/​latest/​test_webapp_commands_thru_mock.py Adds .NET normalization and catalog-preservation tests, plus Node alias coverage.
src/​azure-cli/​azure/​cli/​command_modules/​appservice/​custom.py Adds shared runtime normalization for lookup and GitHub Actions input.

Review effort: Balanced

Comment thread src/azure-cli/azure/cli/command_modules/appservice/custom.py
@aamos-company aamos-company changed the title [App Service] az webapp create/list-runtimes: Support legacy dotnet runtime identifier input [App Service] az webapp create/list-runtimes: Support legacy dotnet runtime identifier input Oct 23, 2026
…liases

Map dotnet to the existing dotnetcore workflow templates on Linux and Windows, with regression coverage for normalized and legacy runtime identifiers.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 89bcc1c0-2a1a-4740-a464-7d431a8d617e

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants