ASP.NET Core 2.1 Preview 2 App Not working on Azure App Service

后端 未结 7 1189
温柔的废话
温柔的废话 2021-02-13 14:32

I\'ve been running my ASP.NET Core 2.1 Preview-1 app on Azure since this release became available. I had installed the ASP.NET Core runtime extensions through the portal and it\

7条回答
  •  终归单人心
    2021-02-13 15:21

    I got my project working on asp.net core 2.1 Preview 2 on Azure. I did the following steps;

    1. Deleted the old asp.net core extension from Azure app service Extension
    2. Using kudus deleted all the files in wwwroot folder of the site.
    3. Installed asp.net core site extension from Azure as shown in the picture below and restarted the app service

    4. Before deploying to Azure, the publish configuration option used is as depicted in the picture below,

    That's it.

提交回复
热议问题