Skip to content

Commit 4faf4d8

Browse files
committed
fix line
1 parent 4695449 commit 4faf4d8

File tree

1 file changed

+11
-12
lines changed

1 file changed

+11
-12
lines changed

articles/service-connector/tutorial-connect-web-app-app-configuration.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,8 @@ Start by creating your Azure resources.
4545
git clone https://github.com/Azure-Samples/serviceconnector-webapp-appconfig-dotnet.git
4646
```
4747

48-
4948
1. Deploy the web app to Azure
50-
49+
5150
Run `az login` to sign in to and follow these steps to create an App Service and deploy the sample app. Make sure you have the Subscription Contributor role.
5251

5352
### [SMI](#tab/smi)
@@ -70,7 +69,7 @@ Start by creating your Azure resources.
7069
| Parameter | Description | Example |
7170
|--------------|-----------------------------------------------------------------------------------------|----------|
7271
| Location | Choose a location near you. Use `az account list-locations --output table` to list locations. | *eastus* |
73-
| Resource group name | You will use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
72+
| Resource group name | You'll use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
7473
| App service name | The app service name is used as the name of the resource in Azure and to form the fully qualified domain name for your app, in the form of the server endpoint `https://<app-service-name>.azurewebsites.com`. This name must be unique across all Azure and the only allowed characters are `A`-`Z`, `0`-`9`, and `-`. | *webapp-appconfig-smi* |
7574
7675
### [UMI](#tab/umi)
@@ -93,10 +92,10 @@ Start by creating your Azure resources.
9392
| Parameter | Description | Example |
9493
|--------------|-----------------------------------------------------------------------------------------|----------|
9594
| Location | Choose a location near you. Use `az account list-locations --output table` to list locations. | *eastus* |
96-
| Resource group name | You will use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
95+
| Resource group name | You'll use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
9796
| App service name | The app service name is used as the name of the resource in Azure and to form the fully qualified domain name for your app, in the form of the server endpoint `https://<app-service-name>.azurewebsites.com`. This name must be unique across all Azure and the only allowed characters are `A`-`Z`, `0`-`9`, and `-`. | *webapp-appconfig-umi* |
9897

99-
Create a user-assigned managed idendity. Save the output into a temporary notepad.
98+
Create a user-assigned managed identity. Save the output into a temporary notepad.
10099
```azurecli
101100
az identity create --resource-group $RESOURCE_GROUP_NAME -n "myIdentity"
102101
```
@@ -121,18 +120,18 @@ Start by creating your Azure resources.
121120
| Parameter | Description | Example |
122121
|--------------|-----------------------------------------------------------------------------------------|----------|
123122
| Location | Choose a location near you. Use `az account list-locations --output table` to list locations. | *eastus* |
124-
| Resource group name | You will use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
123+
| Resource group name | You'll use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
125124
| App service name | The app service name is used as the name of the resource in Azure and to form the fully qualified domain name for your app, in the form of the server endpoint `https://<app-service-name>.azurewebsites.com`. This name must be unique across all Azure and the only allowed characters are `A`-`Z`, `0`-`9`, and `-`. | *webapp-appconfig-sp* |
126125
127-
Create a service pricipal, make sure replace the `yourSubscriptionID` with your actual subscription ID. Save the output into a temporary notepad.
126+
Create a service principal, make sure to replace the `yourSubscriptionID` with your actual subscription ID. Save the output into a temporary notepad.
128127
129128
```azurecli
130129
az ad sp create-for-rbac --name myServicePrincipal --role Contributor --scopes /subscriptions/{yourSubscriptionID}/resourceGroups/$RESOURCE_GROUP_NAME
131130
```
132131
133132
### [Connection string](#tab/connectionstring)
134133
135-
Create an app service and deploy the sample app that uses connection string to interact with App Config. .
134+
Create an app service and deploy the sample app that uses connection string to interact with App Config.
136135
137136
```azurecli
138137
# Change directory to the service principal sample
@@ -150,10 +149,10 @@ Start by creating your Azure resources.
150149
| Parameter | Description | Example |
151150
|--------------|-----------------------------------------------------------------------------------------|----------|
152151
| Location | Choose a location near you. Use `az account list-locations --output table` to list locations. | *eastus* |
153-
| Resource group name | You will use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
152+
| Resource group name | You'll use this resource group to organize all the Azure resources needed to complete this tutorial. | *service-connector-tutorial-rg* |
154153
| App service name | The app service name is used as the name of the resource in Azure and to form the fully qualified domain name for your app, in the form of the server endpoint `https://<app-service-name>.azurewebsites.com`. This name must be unique across all Azure and the only allowed characters are `A`-`Z`, `0`-`9`, and `-`. | *webapp-appconfig-cs* |
155154

156-
---
155+
---
157156

158157
1. Create an Azure App Configuration store
159158

@@ -209,7 +208,7 @@ Start by creating your Azure resources.
209208
az appconfig kv import -n $APP_CONFIG_NAME --source file --format json --path ./sampleconfigs.json --separator : --yes
210209
```
211210

212-
---
211+
---
213212

214213
## Connect the web app to App Configuration
215214

@@ -281,7 +280,7 @@ Service Connector manages the connection configuration for you:
281280
282281
Service Connector manages the connection configuration for you:
283282
284-
- Setup the web app's `AZURE_APPCONFIGURATION_ENDPOINT`, `AZURE_APPCONFIGURATION_CLIENTID`
283+
- Set up the web app's `AZURE_APPCONFIGURATION_ENDPOINT`, `AZURE_APPCONFIGURATION_CLIENTID`
285284
to let the application access it and get app configuration endpoint in [code](https://github.com/Azure-Samples/serviceconnector-webapp-appconfig-dotnet/blob/main/user-assigned-managed-identity/ServiceConnectorSample/Program.cs#L10-L12);
286285
- Activate the web app's user-assigned managed authentication and grant App Configuration a Data Reader role to let the application authenticate to the App Configuration using DefaultAzureCredential from Azure.Identity. Access [sample code](https://github.com/Azure-Samples/serviceconnector-webapp-appconfig-dotnet/blob/main/user-assigned-managed-identity/ServiceConnectorSample/Program.cs#L16).
287286

0 commit comments

Comments
 (0)