Deploying the GiveNTake backend service from Visual Studio

Visual Studio provides an awesome environment to manage and control your Azure App Service. It's very easy to see what's going on inside your App Service and to deploy your application from Visual Studio, but you must remember that it is not advisable to do so because it requires manual steps that are error-prone. However, for teaching purposes, it's very useful in terms of understanding, and therefore, I decided to start with it:

  1. First, make sure you have opened the Solution Explorer in Visual Studio, and then right-click on the project and select Publish...:

  1. In the Publish... dialog, you can create a new App Service or choose an existing one:

  1. Since I had already created an App Service, I selected the Select Existing option and clicked the Publish button. You should now see the App Service selection dialog. Choose the details of your subscription and the Web App you wish to deploy your application to and then click OK:

  1. You have now completed configuring the publish profile, and all there's left to do is to click on the Publish button. The next time you publish your application, Visual Studio will use the settings you already configured in the profile:

  1. The publish operation may take a few minutes, and you can monitor its progress in the Web Publish Activity window that will appear at the bottom of the Visual Studio window:

  1. After the publish completes, your application is up and running and you can navigate to it:

Next up, you'll learn how to create an automated process for building and deploying your project.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.191.162.51