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/azure-app-configuration/enable-dynamic-configuration-azure-functions-csharp.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,11 +3,10 @@ title: Tutorial for using Azure App Configuration dynamic configuration in an Az
3
3
description: In this tutorial, you learn how to dynamically update the configuration data for Azure Functions apps
4
4
services: azure-app-configuration
5
5
author: zhenlan
6
-
manager: qingye
7
6
ms.service: azure-app-configuration
8
7
ms.devlang: csharp
9
8
ms.topic: tutorial
10
-
ms.date: 09/14/2022
9
+
ms.date: 03/09/2025
11
10
ms.author: zhenlwa
12
11
ms.custom: "devx-track-csharp, azure-functions"
13
12
ms.tgt_pltfrm: Azure Functions
@@ -16,7 +15,7 @@ ms.tgt_pltfrm: Azure Functions
16
15
---
17
16
# Tutorial: Use dynamic configuration in an Azure Functions app
18
17
19
-
This tutorial shows how you can enable dynamic configuration updates in your Azure Functions app. It builds upon the Azure Functions app introduced in the quickstarts. Before you continue, finish [Create an Azure functions app with Azure App Configuration](./quickstart-azure-functions-csharp.md) first.
18
+
This tutorial shows how you can enable dynamic configuration updates in your Azure Functions app. It builds upon the Azure Functions app introduced in the quickstarts. Before you continue, finish [Create an Azure Functions app with Azure App Configuration](./quickstart-azure-functions-csharp.md) first.
20
19
21
20
In this tutorial, you learn how to:
22
21
@@ -27,7 +26,7 @@ In this tutorial, you learn how to:
27
26
28
27
## Prerequisites
29
28
30
-
- Finish quickstart [Create an Azure functions app with Azure App Configuration](./quickstart-azure-functions-csharp.md)
29
+
- Finish quickstart [Create an Azure Functions app with Azure App Configuration](./quickstart-azure-functions-csharp.md)
31
30
32
31
## Reload data from App Configuration
33
32
@@ -129,7 +128,7 @@ The Azure App Configuration .NET provider supports caching and dynamic refresh o
@@ -42,11 +44,9 @@ Use the following table as a reference for key parameters when creating your Fun
42
44
| Function | HTTP trigger |
43
45
| Authorization level | Anonymous |
44
46
45
-
46
47
> [!NOTE]
47
48
> Azure App Configuration can be used with Azure Functions in either the [isolated worker model](../azure-functions/dotnet-isolated-process-guide.md) or the [in-process model](../azure-functions/functions-dotnet-class-library.md). This quickstart uses the isolated worker model as an example. You can find complete code examples for both models in the [Azure App Configuration GitHub repository](https://github.com/Azure/AppConfiguration/tree/main/examples/DotNetCore/AzureFunctions).
48
49
49
-
50
50
## Connect to an App Configuration store
51
51
You can connect to your App Configuration store using Microsoft Entra ID (recommended), or a connection string.
52
52
@@ -63,7 +63,7 @@ You can connect to your App Configuration store using Microsoft Entra ID (recomm
63
63
64
64
---
65
65
66
-
2. Open *Program.cs* and update the code as follows. You add Azure App Configuration as an additional configuration source by calling the `AddAzureAppConfiguration()` method.
66
+
2. Open *Program.cs* and update the code as follows. You add Azure App Configuration as an additional configuration source by calling the `AddAzureAppConfiguration` method.
67
67
68
68
### [Microsoft Entra ID (recommended)](#tab/entra-id)
69
69
@@ -171,7 +171,7 @@ You can connect to your App Configuration store using Microsoft Entra ID (recomm
AzureFunctionstriggersdefinehowafunctionisinvoked. Triggerattributes, suchasqueuenamesordatabasenames, areloadedathoststartuptimeandcan't directly retrieve values from Azure App Configuration. To manage these parameters, you can use the App Configuration reference feature available for Azure Functions and App Service.
For example, consider a queue-triggered Azure Function. Instead of specifying the queue name directly in the trigger attribute, you can reference a key-value stored in Azure App Configuration.
| *TestApp:Storage:QueueName* | *\<The queue name in your storage account>* |
218
218
219
-
1. In your Azure Functions, select **Settings** -> **Environment variables** -> **App settings** in the Azure portal, and create an application setting that references the App Configuration key:
219
+
1. In your Function app, select **Settings** -> **Environment variables** -> **App settings** in the Azure portal, and create an application setting that references the App Configuration key:
> If you have multiple key-values in Azure AppConfiguration, youcan [exporttheminbatchasAppConfigurationreferences](./howto-import-export-data.md?#export-data-to-azure-app-service) toAzureFunctionsusingtheAzurePortalorCLI.
226
+
> If you have multiple key-values in Azure AppConfiguration, youcan [exporttheminbatchasAppConfigurationreferences](./howto-import-export-data.md?#export-data-to-azure-app-service) toAzureFunctionsusingtheAzureportalorCLI.
227
227
228
228
1. EnablethemanagedidentityforyourAzureFunctionsappandassignitthe **AppConfigurationDataReader** roleforyourAppConfigurationstore. FordetailedinstructionsonsettingupAppConfigurationreferences, see [UseAppConfigurationreferencesinAppServiceandAzureFunctions](../app-service/app-service-configuration-references.md).
Copy file name to clipboardExpand all lines: articles/azure-app-configuration/quickstart-javascript-provider.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -329,7 +329,7 @@ run().catch(console.error);
329
329
```
330
330
331
331
### [Connection string](#tab/connection-string)
332
-
Set the environment variable named **AZURE_APPCONFIG_CONNECTION_STRING** to the read-only connection string of your App Configuration store found under *Access keys* of your store in the Azure portal.
332
+
Set the environment variable named **AZURE_APPCONFIG_CONNECTION_STRING** to the read-only connection string of your App Configuration store found under *Access settings* of your store in the Azure portal.
333
333
334
334
If you use the Windows command prompt, run the following command and restart the command prompt to allow the change to take effect:
0 commit comments