publish asp.net core 3 preview on azure

ASP.NET Core 3 is still preview.

If you try to deploy it to Azure App Services it won’t work.

But you can do it using the following 2 options:

  1. Install the preview site extension
  2. Deploy the app self-contained

I did both and it works.

Written on June 22, 2019