In this section, we are going to deploy our database and backend API to Azure using Visual Studio. We are going to deploy to a production environment first and then a staging environment.
Publishing our ASP.NET Core backend to Azure
Publishing to production
Let's carry out the following steps to deploy our backend to production:
- In Solution Explorer, right-click on the QandA project and select Publish....
- The Publish screen opens. Select the Publish section and then click the Start button:
- We are then prompted to choose a publish target. Choose Create New and click the Create Profile button:
- The next step is to specify our Microsoft account and name the production app service. Note down the name you choose because...