Publishing

Publishing to IIS

Run

>dotnet publish --configuration Release

A .NET Core Hosting Bundle is required to publish to IIS.

Download the bundle.

TODO -  There seems to be a problem with the API connecting to the database and perfroming the login call.  I need to look further into this.

Publishing to Azure

Set up a Web App with Database in Azure.
Correct the database connection string name
Add firewall rule to access db from own machine.

In VS Code, install the extension Azure App Services

Enabled Hsts and Https

Publish to Files from publish directory.

Use developer exception page until happy.

Comments

Popular posts from this blog

Understanding the technologies - Angular 8 and ASP.NET Web API Core 3

Bits and bobs