Skip to content

Commit a16f246

Browse files
committed
Changing collection to container
1 parent 3d124cb commit a16f246

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/cosmos-db/create-sql-api-dotnet.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ Add data to your new database using Data Explorer.
101101

102102
To see how easy it is to work with your Azure Cosmos DB data programmatically, clone the sample SQL API .NET web app from GitHub, update the connection string, and run the app to update your data.
103103

104-
You could also create the database and collection by using the .NET sample code. To learn more, see [Review the .NET code](#review-the-net-code).
104+
You could also create the database and the container by using the .NET sample code. To learn more, see [Review the .NET code](#review-the-net-code).
105105

106106
### Clone the sample app
107107

@@ -141,7 +141,7 @@ First, clone a C# [SQL API app](https://github.com/Azure-Samples/documentdb-dotn
141141
`<add key="authKey" value="19ZDNJAiYL26tmnRvoez6hmtIfBGwjun50PWRjNYMC2ig8Ob9hYk7Fq1RYSv8FcIYnh1TdBISvCh7s6yyb0000==" />`
142142

143143
144-
1. Make sure the database and collection values in the *web.config* match the names you created earlier.
144+
1. Make sure the database and collection (also called container) values in the *web.config* match the names you created earlier.
145145

146146
```csharp
147147
<add key="database" value="ToDoList"/>
@@ -170,7 +170,7 @@ You can go back to Data Explorer in the Azure portal to see, query, modify, and
170170

171171
## Review the .NET code
172172

173-
This step is optional. In this quickstart, you created a database and a collection in the Azure portal and added sample data by using the .NET sample. However, you can also create the database and the collection by using the .NET sample. Review the following snippets if you're interested in how database resources are created in the code. The snippets are all taken from the *DocumentDBRepository.cs* file in the **todo** project.
173+
This step is optional. In this quickstart, you created a database and a container in the Azure portal and added sample data by using the .NET sample. However, you can also create the database and the container by using the .NET sample. Review the following snippets if you're interested in how database resources are created in the code. The snippets are all taken from the *DocumentDBRepository.cs* file in the **todo** project.
174174

175175
* This code initializes the `DocumentClient`:
176176

@@ -223,7 +223,7 @@ This step is optional. In this quickstart, you created a database and a collecti
223223

224224
## Next steps
225225

226-
In this quickstart, you learned how to create an Azure Cosmos DB account, create a database and collection using the Data Explorer, and run a .NET web app to update your data. You can now import additional data to your Azure Cosmos DB account.
226+
In this quickstart, you learned how to create an Azure Cosmos DB account, create a database and container using the Data Explorer, and run a .NET web app to update your data. You can now import additional data to your Azure Cosmos DB account.
227227

228228
> [!div class="nextstepaction"]
229229
> [Import data into Azure Cosmos DB](import-data.md)

0 commit comments

Comments
 (0)