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
In this tutorial, you create a Node.js console app and load data from your App Configuration store.
42
42
@@ -60,13 +60,11 @@ In this tutorial, you create a Node.js console app and load data from your App C
60
60
61
61
## Connect to an App Configuration store
62
62
63
-
The key-values stored in Azure App Configuration are loaded as a `Map` object and accessed using their full key names.
64
-
If your application requires configuration to be consumed as an object, you can use the `constructConfigurationObject` API.
65
-
This API constructs a configuration object based on the key-values loaded from Azure App Configuration.
66
-
It minimizes the code changes required to integrate Azure App Configuration into your application.
63
+
The following examples demonstrate how to retrieve configuration data from Azure App Configuration and utilize it in your application.
64
+
By default, the key-values are loaded as a `Map` object, allowing you to access each key-value using its full key name.
65
+
However, if your application uses configuration objects, you can use the `constructConfigurationObject` helper API that creates a configuration object based on the key-values loaded from Azure App Configuration.
67
66
68
-
The following samples show how to load configuration and consume it as either a `Map` or an object.
69
-
Create a new file called *app.js* in the *app-configuration-quickstart* directory and copy the code from each sample.
67
+
Create a file named *app.js* in the *app-configuration-quickstart* directory and copy the code from each sample.
70
68
71
69
### Sample 1: Load key-values with default selector
0 commit comments