Deploying a plain ASP.NET Core 2.2 Web App in Azure using Web Deploy is throwing an error

后端 未结 4 942
再見小時候
再見小時候 2021-01-04 13:42

I went to publish an ASP.NET Core web application using Azure through the Publish screen in Visual Studio 2017. I used all of the defaults, though my app uses migra

4条回答
  •  無奈伤痛
    2021-01-04 14:16

    By default ASP.NET Core 2.2 apps are configured to use the new In Process hosting model. This will not be available on Azure in all regions until sometime in December 2018. They mention it here.

    The solution for now is to add the following at the top of your web app's .csproj file:

      
        AspNetCoreModule
        OutOfProcess
      
    

提交回复
热议问题