You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/storage/blobs/storage-upload-process-images.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ The sample uploads images to a blob container in an Azure Storage account. A sto
65
65
In the following command, replace your own globally unique name for the Blob storage account where you see the `<blob_storage_account>` placeholder.
66
66
67
67
```azurecli-interactive
68
-
$blobStorageAccount="<blob_storage_account>"
68
+
blobStorageAccount="<blob_storage_account>"
69
69
70
70
az storage account create --name $blobStorageAccount --location southeastasia --resource-group myResourceGroup --sku Standard_LRS --kind blobstorage --access-tier hot
71
71
@@ -80,7 +80,7 @@ Get the storage account key by using the [az storage account keys list](/cli/azu
80
80
The *images* container's public access is set to `off`. The *thumbnails* container's public access is set to `container`. The `container` public access setting permits users who visit the web page to view the thumbnails.
az storage container create -n images --account-name $blobStorageAccount --account-key $blobStorageAccountKey --public-access off
86
86
@@ -113,7 +113,7 @@ The web app provides a hosting space for the sample app code that's deployed fro
113
113
In the following command, replace `<web_app>` with a unique name. Valid characters are `a-z`, `0-9`, and `-`. If `<web_app>` is not unique, you get the error message: _Website with given name `<web_app>` already exists._ The default URL of the web app is `https://<web_app>.azurewebsites.net`.
114
114
115
115
```azurecli-interactive
116
-
$webapp="<web_app>"
116
+
webapp="<web_app>"
117
117
118
118
az webapp create --name $webapp --resource-group myResourceGroup --plan myAppServicePlan
119
119
@@ -128,7 +128,7 @@ App Service supports several ways to deploy content to a web app. In this tutori
128
128
The sample project contains an [ASP.NET MVC](https://www.asp.net/mvc) app. The app accepts an image, saves it to a storage account, and displays images from a thumbnail container. The web app uses the [Microsoft.Azure.Storage](/dotnet/api/overview/azure/storage), [Microsoft.Azure.Storage.Blob](/dotnet/api/microsoft.azure.storage.blob), and the Microsoft.Azure.Storage.Auth namespaces from the Azure Storage client library to interact with Azure storage.
@@ -166,7 +166,7 @@ az webapp config appsettings set --name $webapp --resource-group myResourceGroup
166
166
The sample web app uses the [Azure Storage Client Library](https://docs.microsoft.com/javascript/api/azure-storage) to request access tokens, which are used to upload images. The storage account credentials used by the Storage SDK are set in the app settings for the web app. Add app settings to the deployed app with the [az webapp config appsettings set](/cli/azure/webapp/config/appsettings) command.
0 commit comments