Thursday, August 2, 2018

Publishing to Azure and view added files

1. Create a Web App in Azure

In Azure select Web App under app service's selection and create an app service

Once the Web App is created, download the publish profile available under the Overview section of the App Service.



2. Publish project from Visual Studio

Use the downloaded publish profile to do the publishing. Import it while doing the publishing


During initial publishing it will ask for the connection string for the Azure database. When you do the following deployments you can go to the Connection tab in the publishing window and check the settings, and even validate the connection prior to the publishing.

From the second publishing on wards you can even do a preview on the changes which are going to Azure



3. Viewing added files

Once the publishing is done and if you need to check on the items which were uploaded to Azure Web App, you can simply use the Azure Kudu service Dashboard.

For this example lets say my web app URL is "http://mysite.azurewebsites.net". Then you can simply navigate through the file system by using the Azure Kudu service Dashboard. For our example the dashboard  URL would be something like : "http://mysite.scm.azurewebsites.net"





No comments:

Post a Comment