Different Options to Deploy Web Application into an Azure App Service

If you plan to deploy your web application into an Azure App Service, there are several options available for deployment. In this article we will discuss about some of those options.

Microsoft Visual Studio or ARM Template: As discussed in the previous article, we can directly deploy our web application through Visual Studio publish option. Microsoft provides Azure Resource Manager (ARM) which is the deployment service in Azure. Through ARM template, we can create, delete, and update the different type of services in App Service.

Upload as ZIP or WAR files: Package your code files as ZIP or WAR package and upload it into Azure App Service using Kudu Service. Kudu is the platform used for deployment for App Service.

Using FTP: Upload all your code files into App Service through FTP/SFTP. FTP/SFTP configuration available in Azure App Service by default.

Continuous Deployment: If you are using Azure DevOps or Git Hub, you can easily deploy your code updates to Azure App Service. Azure can integrate with the Git Hub or Azure DevOps, so that we can easily deploy our most recent changes to App Service.

Cloud Synchronization: Place your code in Microsoft OneDrive or Dropbox folder and sync these folders with the Azure App Service, Kudu deployment engine will take care of the deployment.

App Service as a Repository: We can use Azure App Service as a remote repository and clone that repository to local folder through Git. Whenever you make the changes in your local folder, just push the changes to App Service repository. Kudu will build the code in Azure App Service repository and will publish the code to App Service automatically.