Azure website message “You do not have permission to view this directory or page.”. What to do?

前端 未结 10 1920
陌清茗
陌清茗 2020-11-28 11:54

After I published an ASP.NET Core app to Azure from Visual Studio 2017 I am getting this message when I click on the app url:

It was working fine before. Is

10条回答
  •  眼角桃花
    2020-11-28 12:21

    To turn errors on on production I had to set the ASPNETCORE_ENVIRONMENT environment variable to 'Development' which can be found in your app service here:

提交回复
热议问题