az webapp create can't create a dotnet core app
See original GitHub issueDescribe the bug It is not possible in azure cli to create a webapp with .net core runtime settings for a non-linux host. It can be set in the arm template with
"metadata": [
{
"name": "CURRENT_STACK",
"value": "dotnetcore"
}
]
To Reproduce Try running (or similar)
az webapp create -g test-rg -n test-app --runtime "dotnetcore" -p test-plan
Expected behavior runtime param should support the dotnetcore stuff
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
az webapp create errow when specifying .net core
But I created a web app based on linux service plan P1v2 and still get this error. As it describes, this error should...
Read more >Quickstart: Deploy an ASP.NET web app - Azure App Service
Open Visual Studio and then select Create a new project. · In Create a new project, find, and select ASP.NET Core Web App,...
Read more >Deploy ASP.NET Core apps to Azure App Service
Use Visual Studio to create and deploy an ASP.NET Core web app to Azure App Service on Windows. ... Use the command line...
Read more >az webapp | Microsoft Learn
az webapp auth. Manage webapp authentication and authorization. To use v2 auth commands, run "az extension add --name authV2" to add the authV2...
Read more >Azure Web App for Linux - DotNET Core 2.2 Support
To create a 2.2 web app, you can run az webapp create -n mynetcoreapp -p mylinuxplan -r "DOTNETCORE|2.2" in a bash window.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

CLI uses the API to verify the list of supported runtimes before an app is created currently the API has a known issue where dotnetcore is not listed as a supported runtime for windows you can verify this by running the command az webapp list-runtimes - once the API fix rolls out this will automatically work. Closing this since this is not a CLI issue.
so is the recommended way to create a dotnet core webapp to do it on a linux host???