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/cosmos-db/create-sql-api-dotnet.md
+10-11Lines changed: 10 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,7 +7,7 @@ ms.service: cosmos-db
7
7
ms.subservice: cosmosdb-sql
8
8
ms.devlang: dotnet
9
9
ms.topic: quickstart
10
-
ms.date: 05/20/2019
10
+
ms.date: 06/06/2019
11
11
---
12
12
# Quickstart: Build a .NET web app using SQL API account in Azure Cosmos DB
13
13
@@ -46,33 +46,32 @@ An Azure subscription or free Azure Cosmos DB trial account
46
46
47
47
You can use the Data Explorer in the Azure portal to create a database and collection.
48
48
49
-
1. Select **Data Explorer** from the left navigation on your Azure Cosmos DB account page, and then select **New Collection**.
49
+
1. Select **Data Explorer** from the left navigation on your Azure Cosmos DB account page, and then select **New Container**.
50
50
51
-
You may need to scroll right to see the **Add Collection**area.
51
+
You may need to scroll right to see the **Add Contaier**window.
52
52
53
53

54
54
55
-
1. In the **Add collection**page, enter the settings for the new collection.
55
+
1. In the **Add container**pane, enter the settings for the new collection.
56
56
57
57
|Setting|Suggested value|Description
58
58
|---|---|---|
59
-
|**Database ID**|ToDoList|Enter *ToDoList* as the name for the new database. Database names must contain from 1 through 255 characters, and they cannot contain `/, \\, #, ?`, or a trailing space.|
60
-
|**Collection ID**|Items|Enter *Items* as the name for your new collection. Collection IDs have the same character requirements as database names.|
61
-
|**Partition key**| /category| The sample described in this article uses */category* as the partition key.|
59
+
|**Database ID**|ToDoList|Enter *ToDoList* as the name for the new database. Database names must contain from 1 through 255 characters, and they cannot contain `/, \\, #, ?`, or a trailing space. Check the **Provision database throughput** option, it allows you to share the throughput provisioned to the database across all the containers within the database. This option also helps with cost savings. |
62
60
|**Throughput**|400|Leave the throughput at 400 request units per second (RU/s). If you want to reduce latency, you can scale up the throughput later.|
61
+
|**Container ID**|Items|Enter *Items* as the name for your new collection. Collection IDs have the same character requirements as database names.|
62
+
|**Partition key**| /category| The sample described in this article uses */category* as the partition key.|
63
+
63
64
64
65
Don't add **Unique keys** for this example. Unique keys let you add a layer of data integrity to the database by ensuring the uniqueness of one or more values per partition key. For more information, see [Unique keys in Azure Cosmos DB](unique-keys.md).
65
66
66
-
1. Select **OK**.
67
-
Data Explorer displays the new database and collection.
67
+
1. Select **OK**. The Data Explorer displays the new database and the container that you created.
68
68
69
-

70
69
71
70
## Add data to your database
72
71
73
72
Add data to your new database using Data Explorer.
74
73
75
-
1. In **Data Explorer**, the new database appears in the **Collections** pane. Expand the **ToDoList** database, expand the **Items**collection, select **Documents**, and then select **New Document**.
74
+
1. In **Data Explorer**, expand the **ToDoList** database, and expand the **Items**container. Next, select **Items**, and then select **New Item**.
76
75
77
76

0 commit comments