Run .NET 5 on Azure App Services

Run .NET 5 on Azure App Services

Raymond Tang Raymond Tang 0 1294 0.76 index 10/24/2020

.NET 5 RC2 was released on 2020-10-13. On Azure, you can only select .NET Core 3.1 or 2.1 LTS versions as runtime stack when creating web app as the following screenshot shows.

20201023235516-image.png

This will stay as is till .NET 5 official release. However, you can use extensions to run your .NET 5 applications.

Install .NET 5 runtime extensions

Follow the steps below to install .NET 5 runtime extension.

  • Logon to Azure portal
  • Go to your App Service instance
  • Click Extensions under Development Tools 2020102402044-image.png
  • Click '+ Add' button
  • Click 'Choose Extension' 2020102402150-image.png
  • Select ASP.NET Core 5.0 runtime extension; you can select either x64 or x86 version based on your requirement. 2020102402245-image.png
  • Accept legal terms 2020102402419-image.png
  • Click 'OK' button to install the extension
  • Wait until the installation is completed: 2020102402549-image.png

Once the installation completes, you will be able to see the ASP .NET Core 5.o runtime.

2020102402744-image.png

.net asp.net-core azure

Join the Discussion

View or add your thoughts below

Comments