Skip to content

Commit a186e4b

Browse files
committed
Restored line continuation chars
1 parent f72b256 commit a186e4b

File tree

1 file changed

+18
-5
lines changed

1 file changed

+18
-5
lines changed

articles/storage/blobs/storage-upload-process-images.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,14 +127,18 @@ App Service supports several ways to deploy content to a web app. In this tutori
127127
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.
128128

129129
```azurecli-interactive
130-
az webapp deployment source config --name $webapp --resource-group myResourceGroup --branch master --manual-integration --repo-url https://github.com/Azure-Samples/storage-blob-upload-from-webapp
130+
az webapp deployment source config --name $webapp \
131+
--resource-group myResourceGroup --branch master --manual-integration \
132+
--repo-url https://github.com/Azure-Samples/storage-blob-upload-from-webapp
131133
```
132134

133135
# [Node.js V2 SDK](#tab/nodejs)
134136
App Service supports several ways to deploy content to a web app. In this tutorial, you deploy the web app from a [public GitHub sample repository](https://github.com/Azure-Samples/storage-blob-upload-from-webapp-node). Configure GitHub deployment to the web app with the [az webapp deployment source config](/cli/azure/webapp/deployment/source) command.
135137

136138
```azurecli-interactive
137-
az webapp deployment source config --name $webapp --resource-group myResourceGroup --branch master --manual-integration --repo-url https://github.com/Azure-Samples/storage-blob-upload-from-webapp-node
139+
az webapp deployment source config --name $webapp \
140+
--resource-group myResourceGroup --branch master --manual-integration \
141+
--repo-url https://github.com/Azure-Samples/storage-blob-upload-from-webapp-node
138142
```
139143

140144
# [Node.js V10 SDK](#tab/nodejsv10)
@@ -155,18 +159,27 @@ az webapp deployment source config --name $webapp \
155159
The sample web app uses the [Azure Storage Client Library](/dotnet/api/overview/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.
156160

157161
```azurecli-interactive
158-
az webapp config appsettings set --name $webapp --resource-group myResourceGroup --settings AzureStorageConfig__AccountName=$blobStorageAccount AzureStorageConfig__ImageContainer=images AzureStorageConfig__ThumbnailContainer=thumbnails AzureStorageConfig__AccountKey=$blobStorageAccountKey
162+
az webapp config appsettings set --name $webapp --resource-group myResourceGroup \
163+
--settings AzureStorageConfig__AccountName=$blobStorageAccount \
164+
AzureStorageConfig__ImageContainer=images \
165+
AzureStorageConfig__ThumbnailContainer=thumbnails \
166+
AzureStorageConfig__AccountKey=$blobStorageAccountKey
159167
```
160168

161169
# [Node.js V2 SDK](#tab/nodejs)
162170

163171
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.
164172

165173
```azurecli-interactive
166-
storageConnectionString=$(az storage account show-connection-string --resource-group $resourceGroupName \
174+
$storageConnectionString=$(az storage account show-connection-string --resource-group $resourceGroupName \
167175
--name $blobStorageAccount --query connectionString --output tsv)
168176
169-
az webapp config appsettings set --name $webapp --resource-group myResourceGroup --settings AzureStorageConfig__ImageContainer=images AzureStorageConfig__ThumbnailContainer=thumbnails AzureStorageConfig__AccountName=$blobStorageAccount AzureStorageConfig__AccountKey=$blobStorageAccountKey AZURE_STORAGE_CONNECTION_STRING=$storageConnectionString
177+
az webapp config appsettings set --name $webapp --resource-group myResourceGroup \
178+
--settings AzureStorageConfig__ImageContainer=images \
179+
AzureStorageConfig__ThumbnailContainer=thumbnails \
180+
AzureStorageConfig__AccountName=$blobStorageAccount \
181+
AzureStorageConfig__AccountKey=$blobStorageAccountKey \
182+
AZURE_STORAGE_CONNECTION_STRING=$storageConnectionString
170183
```
171184

172185
# [Node.js V10 SDK](#tab/nodejsv10)

0 commit comments

Comments
 (0)