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

54
54
55
55
By default, values for app settings are hidden in the portal for security. To see a hidden value of an app setting, select its **Value** field. To see the hidden values of all app settings, select the **Show values** button.
56
56
57
-
1. To add a new app setting, select **New application setting**. To edit a setting, select the **Edit** button on the right side.
57
+
1. To add a new app setting, select **Add**. To edit a setting, click the setting.
58
58
59
59
1. In the dialog, you can [stick the setting to the current slot](deploy-staging-slots.md#which-settings-are-swapped).
60
60
61
61
> [!NOTE]
62
62
> In a default Linux app service or a custom Linux container, any nested JSON key structure in the app setting name like `ApplicationInsights:InstrumentationKey` needs to be configured in App Service as `ApplicationInsights__InstrumentationKey` for the key name. In other words, any `:` should be replaced by `__` (double underscore). Any periods in the app setting name will be replaced with a `_` (single underscore).
63
63
64
-
1. When finished, select **Update**. Don't forget to select **Save** back in the **Configuration** page.
64
+
1. When finished, select **Apply**. Don't forget to select **Apply** back in the **Environment variables** page.
Select the **Advanced edit** button. Edit the settings in the text area. When finished, select **Update**. Don't forget to select **Save** back in the **Configuration** page.
134
+
Select the **Advanced edit** button. Edit the settings in the text area. When finished, select **OK**. Don't forget to select **Apply** back in the **Environment variables** page.
135
135
136
136
App settings have the following JSON formatting:
137
137
@@ -199,16 +199,12 @@ It's not possible to edit app settings in bulk by using a JSON file with Azure P
199
199
200
200
## Configure connection strings
201
201
202
-
In the [Azure portal], search for and select **App Services**, and then select your app. In the app's left menu, select **Configuration** > **Application settings**.
For ASP.NET and ASP.NET Core developers, setting connection strings in App Service are like setting them in `<connectionStrings>` in *Web.config*, but the values you set in App Service override the ones in *Web.config*. You can keep development settings (for example, a database file) in *Web.config* and production secrets (for example, SQL Database credentials) safely in App Service. The same code uses your development settings when you debug locally, and it uses your production secrets when deployed to Azure.
207
203
208
204
For other language stacks, it's better to use [app settings](#configure-app-settings) instead, because connection strings require special formatting in the variable keys in order to access the values.
209
205
210
206
> [!NOTE]
211
-
> There is one case where you may want to use connection strings instead of app settings for non-.NET languages: certain Azure database types are backed up along with the app _only_ if you configure a connection string for the database in your App Service app. For more information, see [Create a custom backup](manage-backup.md#create-a-custom-backup). If you don't need this automated backup, then use app settings.
207
+
> There is one case where you may want to use connection strings instead of app settings for non-.NET languages: certain Azure database types are backed up along with the app *only* if you configure a connection string for the database in your App Service app. For more information, see [Create a custom backup](manage-backup.md#create-a-custom-backup). If you don't need this automated backup, then use app settings.
212
208
213
209
At runtime, connection strings are available as environment variables, prefixed with the following connection types:
214
210
@@ -242,17 +238,17 @@ Connection strings are always encrypted when stored (encrypted-at-rest).
242
238
243
239

244
240
245
-
1. In the app's left menu, select **Configuration** > **Application settings**.
241
+
1. In the app's left menu, select **Environment variables** > **Connection strings**.

248
244
249
245
By default, values for connection strings are hidden in the portal for security. To see a hidden value of a connection string, select its **Value** field. To see the hidden values of all connection strings, select the **Show value** button.
250
246
251
-
1. To add a new connection string, select **New connection string**. To edit a connection string, select the **Edit** button on the right side.
247
+
1. To add a new connection string, select **Add**. To edit a connection string, select the connection string.
252
248
253
249
1. In the dialog, you can [stick the connection string to the current slot](deploy-staging-slots.md#which-settings-are-swapped).
254
250
255
-
1. When finished, select **Update**. Don't forget to select **Save** back in the **Configuration** page.
251
+
1. When finished, select **Apply**. Don't forget to select **Apply** back in the **Environment variables** page.
Select the **Advanced edit** button. Edit the connection strings in the text area. When finished, select **Update**. Don't forget to select **Save** back in the **Configuration** page.
332
+
Select the **Advanced edit** button. Edit the connection strings in the text area. When finished, select **Apply**. Don't forget to select **Apply** back in the **Environment variables** page.
337
333
338
334
Connection strings have the following JSON formatting:
339
335
@@ -524,7 +520,7 @@ By default, App Service starts your app from the root directory of your app code
1. Select **OK**. Don't forget to select **Save** in the **Configuration** page.
528
524
529
525
# [Azure CLI](#tab/cli)
530
526
@@ -593,7 +589,7 @@ To add a custom handler:
593
589
-**Script processor**. The absolute path of the script processor to you. Requests to files that match the file extension are processed by the script processor. Use the path `D:\home\site\wwwroot` to refer to your app's root directory.
594
590
-**Arguments**. Optional command-line arguments for the script processor.
595
591
596
-
1. Select **OK**.
592
+
1. Select **OK**. Don't forget to select **Save** in the **Configuration** page.
597
593
598
594
## Configure custom containers
599
595
@@ -617,7 +613,5 @@ To add a custom handler:
617
613
[Azure portal]: https://portal.azure.com/
618
614
[Configure a custom domain name in Azure App Service]: ./app-service-web-tutorial-custom-domain.md
619
615
[Set up staging environments in Azure App Service]: ./deploy-staging-slots.md
620
-
[How to: Monitor web endpoint status]: ./web-sites-monitor.md
621
616
[Monitoring basics in Azure App Service]: ./web-sites-monitor.md
0 commit comments