![]() ![]() $appServicePlanName = "RunFromPackageDemo"Īz appservice plan create -n $appServicePlanName -g $resGroupName -sku B1Īz webapp create -n $webAppName -g $resGroupName -plan $appServicePlanName $location = "West Europe"Īz group create -n $resGroupName -l $location We'll start off by creating a resource group, an app service plan and then putting an empty web app in. ![]() Or you can just upload the zip file directly to App Service and update a text file that points at it. The zip file can be stored at any publicly available URI, so you can just point at a zip file in Azure Blob Storage. There are actually two options available to us. The way "Run from Package" works is that you simply set up a special App Setting called WEBSITE_RUN_FROM_PACKAGE and its value tells App Service where to find the zip containing your application. As usual, I'll be using the Azure CLI, from PowerShell. So in this post, I'll show some examples of using "Run from Package" to deploy a simple website. However, more recently, an even newer approach, known as "run from package" has been announced, and is arguably now the best way to deploy your web apps and function apps. But later that year, a much better new "zip deploy API" was announced, and I wrote another article explaining how to use that. ![]() Back in Feb 2017 I wrote about how you can deploy an Azure Web App by zipping it up and pushing it to App Service with the Kudu REST API. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |