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.
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
Post a Comment