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/howto-integrate-azure-managed-service-identity.md
+1-2Lines changed: 1 addition & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,7 +92,6 @@ To set up a managed identity in the portal, you first create an application and
92
92
93
93
```csharp-interactive
94
94
using Azure.Identity;
95
-
using Microsoft.Azure.Services.AppAuthentication;
96
95
```
97
96
98
97
1. If you wish to access only values stored directly in App Configuration, update the `CreateWebHostBuilder` method by replacing the `config.AddAzureAppConfiguration()` method.
@@ -259,4 +258,4 @@ For example, you can update the .NET Framework console app created in the quicks
259
258
In this tutorial, you added an Azure managed identity to streamline access to App Configuration and improve credential management for your app. To learn more about how to use App Configuration, continue to the Azure CLI samples.
Copy file name to clipboardExpand all lines: articles/azure-functions/functions-create-first-function-python.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
@@ -92,7 +92,7 @@ In Azure Functions, a function project is a container for one or more individual
92
92
cd LocalFunctionProj
93
93
```
94
94
95
-
1. Add a function to your project by using the following command, where the `--name` argument is the unique name of your function and the `--template` argument specifies the function's trigger. `func new` create a subfolder matching the function name that contains a code file appropriate to the project's chosen language and a configuration file named *function.json*.
95
+
1. Add a function to your project by using the following command, where the `--name` argument specifies the unique name of your function (HttpExample in this case) and the `--template` argument specifies the function's trigger (HTTP trigger). This `func new` command creates a subfolder matching the function name that contains a code file appropriate to the project's chosen language and a configuration file named *function.json*.
96
96
97
97
```
98
98
func new --name HttpExample --template "HTTP trigger"
This quickstart shows how to use Java and the Azure Cosmos DB [Table API](table-introduction.md) to build an app by cloning an example from GitHub. You'll learn how to create an Azure Cosmos DB account and how to use Data Explorer to create tables and entities in the web-based Azure portal.
24
-
25
-
Azure Cosmos DB is Microsoft’s globally distributed multi-model database service. You can quickly create and query document, key/value, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
23
+
In this quickstart, you create an Azure Cosmos DB Table API account, and use Data Explorer and a Java app cloned from GitHub to create tables and entities. Azure Cosmos DB is a multi-model database service that lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
*[Java Development Kit (JDK) 8](https://aka.ms/azure-jdks)
35
-
* Be sure to set the JAVA_HOME environment variable to point to the folder where the JDK is installed.
36
-
*[Download](https://maven.apache.org/download.cgi) and [install](https://maven.apache.org/install.html) a [Maven](https://maven.apache.org/) binary archive
37
-
* On Ubuntu, you can run `apt-get install maven` to install Maven.
38
-
*[Git](https://www.git-scm.com/)
39
-
* On Ubuntu, you can run `sudo apt-get install git` to install Git.
27
+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription. You can also use the [Azure Cosmos DB Emulator](https://aka.ms/cosmosdb-emulator) with a URI of `https://localhost:8081` and the key `C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==`.
28
+
-[Java Development Kit (JDK) 8](https://www.azul.com/downloads/azure-only/zulu/?&version=java-8-lts&architecture=x86-64-bit&package=jdk). Point your `JAVA_HOME` environment variable to the folder where the JDK is installed.
29
+
- A [Maven binary archive](https://maven.apache.org/download.cgi).
30
+
-[Git](https://www.git-scm.com/downloads).
40
31
41
32
## Create a database account
42
33
@@ -80,13 +71,13 @@ Now let's clone a Table app from GitHub, set the connection string, and run it.
80
71
81
72
Now go back to the Azure portal to get your connection string information and copy it into the app. This enables your app to communicate with your hosted database.
82
73
83
-
1. In the [Azure portal](https://portal.azure.com/), select**Connection String**.
74
+
1. In your Azure Cosmos DB account inthe [Azure portal](https://portal.azure.com/), select**Connection String**.
84
75
85
76

86
77
87
78
2. Copy the PRIMARY CONNECTION STRING using the copy button on the right.
88
79
89
-
3. Open config.properties from the C:\git-samples\storage-table-java-getting-started\src\main\resources folder.
80
+
3. Open *config.properties* from the *C:\git-samples\storage-table-java-getting-started\src\main\resources* folder.
90
81
91
82
5. Comment out line one and uncomment line two. The first two lines should now look like this.
92
83
@@ -101,7 +92,7 @@ Now go back to the Azure portal to get your connection string information and co
101
92
> If your Endpoint uses documents.azure.com, that means you have a preview account, and you need to create a [new Table API account](#create-a-database-account) to work with the generally available Table API SDK.
102
93
>
103
94
104
-
7. Save the config.properties file.
95
+
7. Save the *config.properties* file.
105
96
106
97
You've now updated your app with all the info it needs to communicate with Azure Cosmos DB.
107
98
@@ -113,15 +104,15 @@ You've now updated your app with all the info it needs to communicate with Azure
113
104
cd "C:\git-samples\storage-table-java-getting-started"
114
105
```
115
106
116
-
2. In the git terminal window, run the following commands to run start the Java application.
107
+
2. In the git terminal window, run the following commands to run the Java application.
117
108
118
109
```git
119
110
mvn compile exec:java
120
111
```
121
112
122
113
The console window displays the table data being added to the new table database in Azure Cosmos DB.
123
114
124
-
You can now go back to Data Explorer and see query, modify, and work with this new data.
115
+
You can now go back to Data Explorer and see, query, modify, and work with this new data.
125
116
126
117
## Review SLAs in the Azure portal
127
118
@@ -133,7 +124,7 @@ You've now updated your app with all the info it needs to communicate with Azure
133
124
134
125
## Next steps
135
126
136
-
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a table using the Data Explorer, and run an app. Now you can query your data using the Table API.
127
+
In this quickstart, you learned how to create an Azure Cosmos DB account, create a table using the Data Explorer, and run a Java app to add table data. Now you can query your data using the Table API.
137
128
138
129
> [!div class="nextstepaction"]
139
130
> [Import table data to the Table API](table-import.md)
Copy file name to clipboardExpand all lines: articles/cosmos-db/create-table-nodejs.md
+12-18Lines changed: 12 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,19 +19,13 @@ ms.author: sngun
19
19
> *[Python](create-table-python.md)
20
20
>
21
21
22
-
This quickstart shows how to use Node.js and the Azure Cosmos DB [Table API](table-introduction.md) to build an app by cloning an example from GitHub. This quickstart also shows you how to create an Azure Cosmos DB account and how to use Data Explorer to create tables and entities in the web-based Azure portal.
23
-
24
-
Azure Cosmos DB is Microsoft’s globally distributed multi-model database service. You can quickly create and query document, key/value, wide-column, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
22
+
In this quickstart, you create an Azure Cosmos DB Table API account, and use Data Explorer and a Node.js app cloned from GitHub to create tables and entities. Azure Cosmos DB is a multi-model database service that lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
*[Node.js](https://nodejs.org/en/) version v0.10.29 or higher
34
-
*[Git](https://git-scm.com/)
26
+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription. You can also use the [Azure Cosmos DB Emulator](https://aka.ms/cosmosdb-emulator) with a URI of `https://localhost:8081` and the key `C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==`.
27
+
-[Node.js 0.10.29+](https://nodejs.org/) .
28
+
-[Git](https://git-scm.com/downloads).
35
29
36
30
## Create a database account
37
31
@@ -75,19 +69,19 @@ Now let's clone a Table app from GitHub, set the connection string, and run it.
75
69
76
70
Now go back to the Azure portal to get your connection string information and copy it into the app. This enables your app to communicate with your hosted database.
77
71
78
-
1. In the [Azure portal](https://portal.azure.com/), click**Connection String**.
72
+
1. In your Azure Cosmos DB account inthe [Azure portal](https://portal.azure.com/), select**Connection String**.
79
73
80
74

81
75
82
-
2. Copy the PRIMARY CONNECTION STRING using the copy button on the right-side.
76
+
2. Copy the PRIMARY CONNECTION STRING using the copy button on the rightside.
83
77
84
-
3. Open the app.config file, and paste the value into the connectionString on line three.
78
+
3. Open the *app.config* file, and paste the value into the connectionString on line three.
85
79
86
80
> [!IMPORTANT]
87
81
> If your Endpoint uses documents.azure.com, that means you have a preview account, and you need to create a [new Table API account](#create-a-database-account) to work with the generally available Table API SDK.
88
82
>
89
83
90
-
3. Save the app.config file.
84
+
3. Save the *app.config* file.
91
85
92
86
You've now updated your app with all the info it needs to communicate with Azure Cosmos DB.
93
87
@@ -99,21 +93,21 @@ You've now updated your app with all the info it needs to communicate with Azure
99
93
cd "C:\git-samples\storage-table-node-getting-started"
100
94
```
101
95
102
-
2. Run the following command to install the [azure], [node-uuid], [nconf] and [async] modules locally as well as to save an entry for them to the package.json file
96
+
2. Run the following command to install the [azure], [node-uuid], [nconf] and [async] modules locally as well as to save an entry for them to the *package.json* file.
2. In the git terminal window, run the following commands to run start the Node application.
102
+
2. In the git terminal window, run the following commands to run the Node.js application.
109
103
110
104
```
111
105
node ./tableSample.js
112
106
```
113
107
114
108
The console window displays the table data being added to the new table database in Azure Cosmos DB.
115
109
116
-
You can now go back to Data Explorer and see query, modify, and work with this new data.
110
+
You can now go back to Data Explorer and see, query, modify, and work with this new data.
117
111
118
112
## Review SLAs in the Azure portal
119
113
@@ -125,7 +119,7 @@ You've now updated your app with all the info it needs to communicate with Azure
125
119
126
120
## Next steps
127
121
128
-
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a table using the Data Explorer, and run an app. Now you can query your data using the Table API.
122
+
In this quickstart, you learned how to create an Azure Cosmos DB account, create a table using the Data Explorer, and run a Node.js app to add table data. Now you can query your data using the Table API.
129
123
130
124
> [!div class="nextstepaction"]
131
125
> [Import table data to the Table API](table-import.md)
This quickstart shows how to use Python and the Azure Cosmos DB [Table API](table-introduction.md) to build an app by cloning an example from GitHub. This quickstart also shows you how to create an Azure Cosmos DB account and how to use Data Explorer to create tables and entities in the web-based Azure portal.
24
-
25
-
Azure Cosmos DB is Microsoft’s globally distributed multi-model database service. You can quickly create and query document, key/value, wide-column, and graph databases, all of which benefit from the global distribution and horizontal scale capabilities at the core of Azure Cosmos DB.
23
+
In this quickstart, you create and manage an Azure Cosmos DB Table API account from the Azure portal, and from Visual Studio with a Python app cloned from GitHub. Azure Cosmos DB is a multi-model database service that lets you quickly create and query document, table, key-value, and graph databases with global distribution and horizontal scale capabilities.
* If you don’t already have Visual Studio 2019 installed, you can download and use the **free**[Visual Studio 2019 Community Edition](https://www.visualstudio.com/downloads/). Make sure that you select the **Azure development** and **Python development** workloads during the Visual Studio setup.
35
-
* Also select the Python 2 option in the **Python development** workload, or download Python 2.7 from [python.org](https://www.python.org/downloads/release/python-2712/).
27
+
- An Azure account with an active subscription. [Create one for free](https://azure.microsoft.com/free/?ref=microsoft.com&utm_source=microsoft.com&utm_medium=docs&utm_campaign=visualstudio). Or [try Azure Cosmos DB for free](https://azure.microsoft.com/try/cosmosdb/) without an Azure subscription. You can also use the [Azure Cosmos DB Emulator](https://aka.ms/cosmosdb-emulator) with a URI of `https://localhost:8081` and the key `C2y6yDjf5/R+ob0N8A7Cgv30VRDJIWEHLM+4QDU5DE2nQ9nDuVTqobD4b8mGGyPMbIZnqyMsEcaGQy67XIw/Jw==`.
28
+
-[Visual Studio 2019](https://www.visualstudio.com/downloads/), with the **Azure development** and **Python development** workloads selected during setup.
29
+
-[Git](https://git-scm.com/downloads).
36
30
37
31
## Create a database account
38
32
@@ -78,29 +72,31 @@ Now let's clone a Table app from GitHub, set the connection string, and run it.
78
72
79
73
Now go back to the Azure portal to get your connection string information and copy it into the app. This enables your app to communicate with your hosted database.
80
74
81
-
1. In the [Azure portal](https://portal.azure.com/), select**Connection String**.
75
+
1. In your Azure Cosmos DB account inthe [Azure portal](https://portal.azure.com/), select**Connection String**.
82
76
83
77

84
78
85
79
2. Copy the ACCOUNT NAME using the button on the right side.
86
80
87
-
3. Open the config.py file, and paste the ACCOUNT NAME from the portal into the STORAGE_ACCOUNT_NAME value on line 19.
81
+
3. Open the *config.py* file, and paste the ACCOUNT NAME from the portal into the STORAGE_ACCOUNT_NAME value on line 19.
88
82
89
83
4. Go back to the portal and copy the PRIMARY KEY.
90
84
91
85
5. Paste the PRIMARY KEY from the portal into the STORAGE_ACCOUNT_KEY value on line 20.
92
86
93
-
6. Save the config.py file.
87
+
6. Save the *config.py* file.
94
88
95
89
## Run the app
96
90
97
-
1. In Visual Studio, right-click on the project in**Solution Explorer**, selectthe current Python environment, then right click.
91
+
1. In Visual Studio, right-click on the project in**Solution Explorer**.
92
+
93
+
2. Select the current Python environment, then right click.
98
94
99
-
2. Select Install Python Package, then enter **azure-storage-table**
95
+
2. Select **Install Python Package**, then enter *azure-storage-table*.
100
96
101
-
3. Run F5 to run the application. Your app displays in your browser.
97
+
3. Press F5 to run the application. Your app displays in your browser.
102
98
103
-
You can now go back to Data Explorer and see query, modify, and work with this new data.
99
+
You can now go back to Data Explorer and see, query, modify, and work with this new data.
104
100
105
101
## Review SLAs in the Azure portal
106
102
@@ -112,7 +108,7 @@ You can now go back to Data Explorer and see query, modify, and work with this n
112
108
113
109
## Next steps
114
110
115
-
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a table using the Data Explorer, and run an app. Now you can query your data using the Table API.
111
+
In this quickstart, you've learned how to create an Azure Cosmos DB account, create a table using the Data Explorer, and run a Python app in Visual Studio to add table data. Now you can query your data using the Table API.
116
112
117
113
> [!div class="nextstepaction"]
118
114
> [Import table data to the Table API](table-import.md)
0 commit comments