Skip to content

Commit 58eb5d5

Browse files
update Azure Web App runtime stack to DOTNETCORE (#12833)
* update Azure Web App runtime stack to DOTNETCORE Updated Notes, which will help user to update their Azure Web App runtime Stack to DOTNETCORE * Update src/Websites/Websites/help/Set-AzWebApp.md Co-authored-by: Mike F. Robbins <[email protected]> Co-authored-by: Mike F. Robbins <[email protected]>
1 parent afc92fb commit 58eb5d5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/Websites/Websites/help/Set-AzWebApp.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,15 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
561561
### Microsoft.Azure.Commands.WebApps.Models.PSSite
562562
563563
## NOTES
564+
Below provided cmdlet will help you to update Azure Web App to **DOTNETCORE**
564565
566+
$PropertiesObject = @{
567+
"CURRENT_STACK" = "dotnetcore"
568+
}
569+
New-AzResource -PropertyObject $PropertiesObject -ResourceGroupName "Default-Web-WestUS" -ResourceType Microsoft.Web/sites/config -ResourceName "ContosoWebApp/metadata" -ApiVersion 2018-02-01 -Force
570+
571+
Replace the values of Default-Web-WestUS with your resource group name of the webapp and ContosoWebApp with the webapp name.
572+
565573
## RELATED LINKS
566574
567575
[Get-AzWebApp](./Get-AzWebApp.md)
@@ -575,3 +583,5 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable
575583
[Start-AzWebApp](./Start-AzWebApp.md)
576584
577585
[Stop-AzWebApp](./Stop-AzWebApp.md)
586+
587+
[New-AzResource](./New-AzResource.md)

0 commit comments

Comments
 (0)