I am using Blazor in an app and I need to use AspNetCoreRuntime.3.0.x86 version 3.0.0-preview-19075-0444 (One version behind latest as of 2019-03-30)

Azure extensions, the best I could tell, only let you install the latest version.
If you have an older version it will let you update but I couldn't figure out how to downgrade or install an older version.

Thankfully I have another site with an old version installed already.
After reading this post from Michael Crump, I decided to try to manually install the extension via Kudu tools and it worked.

See below for the steps I took:

SelectAppService

  • Select the app service with the old extension installed.
    Filter for Kudu and select Advanced Tools

FilterAndSelectKudu

  • Select Go (this will open the Kudu Advanced Tools in another tab)

  • From the Debug console Menu dropdown select PowerShell
    SelectPowershellInKudu

  • Select the SiteExtentions Folder

SelectSiteExtentionsInKudu

Download the AspNetCoreRuntime.3.0.x86 folder

DownloadSiteExtentions

Return to azure portal tab and select the App Service where you want to copy the extention.
Repeating the steps to open Kudu and navigate to the SiteExtention folder.

Press the Plus to create a new folder named AspNetCoreRuntime.3.0.x86

ClickPlusToAddNewFolder

Inside the newly created folder drag the zip file you downloaded to the top right where "Drop and unzip" will appear, then release.

Once completed, return to Azure portal

  • Restart your app service
  • Filter and select Extentions

FilterAndSelectExtentions

Now you should see the new extension.

VerifyExtention


References:
Michael Crump https://www.michaelcrump.net/azure-tips-and-tricks21/

Author: Steven T. Cramer
Date: 2019-03-30 13:28:57
Tags: Azure Extension Kudu Blazor