Skip to content

Commit 7f17e99

Browse files
quickstart updates
1 parent 08b8c4c commit 7f17e99

File tree

8 files changed

+26
-9
lines changed

8 files changed

+26
-9
lines changed

articles/cosmos-db/create-table-dotnet.md

Lines changed: 26 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,15 @@ Now let's clone a Table app from GitHub, set the connection string, and run it.
7070
```bash
7171
git clone https://github.com/Azure-Samples/storage-table-dotnet-getting-started.git
7272
```
73+
## Open the sample application in Visual Studio
7374

74-
3. Then open the TableStorage.sln solution file in Visual Studio.
75+
1. In Visual Studio, from the **File** menu, choose **Open**, then choose **Project/Solution**.
76+
77+
![Open the solution](media/create-table-dotnet/azure-cosmosdb-open-solution.png)
78+
79+
2. Navigate to the folder where you cloned the sample application, and open the TableStorage.sln file.
80+
81+
![Open the cloned application](media/create-table-dotnet/azure-cosmos-db-open-clone.png)
7582

7683
## Update your connection string
7784

@@ -113,25 +120,35 @@ You've now updated your app with all the info it needs to communicate with Azure
113120
1. In Visual Studio, right-click on the **TableStorage** project in **Solution Explorer** and then click **Manage NuGet Packages**.
114121
115122
![Manage NuGet Packages](media/create-table-dotnet/azure-cosmosdb-manage-nuget.png)
116-
2. In the NuGet **Browse** box, type *Microsoft.Azure.CosmosDB.Table*.
123+
2. In the NuGet **Browse** box, type *Microsoft.Azure.CosmosDB.Table*. This will find the Cosmos DB Table API client library.
124+
125+
![NuGet Browse tab](media/create-table-dotnet/azure-cosmosdb-nuget-browse.png)
126+
127+
3. Click **Install** to install the **Microsoft.Azure.CosmosDB.Table** library. This installs the Azure Cosmos DB Table API package and all dependencies.
117128
118-
3. From the results, install the **Microsoft.Azure.CosmosDB.Table** library. This installs the Azure Cosmos DB Table API package and all dependencies.
129+
![Click Install](media/create-table-dotnet/azure-cosmosdb-nuget-install.png)
119130
120-
4. Open BasicSamples.cs and add a breakpoint to lines 30 and line 52.
131+
4. Open BasicSamples.cs. Right-click on line 30, select **Breakpoint**, then select **Insert Breakpoint**. Repeat this step on lines 52 and 55.
121132
122-
5. Click CTRL + F5 to run the application.
133+
![Add a breakpoint](media/create-table-dotnet/azure-cosmosdb-breakpoint.png)
123134
124-
The console window displays the table data being added to the new table database in Azure Cosmos DB.
135+
5. Press F5 to run the application.
136+
137+
The console window displays the name of the new table database in Azure Cosmos DB.
125138
139+
![Console output](media/create-table-dotnet/azure-cosmosdb-console.png)
140+
126141
If you get an error about dependencies, see [Troubleshooting](table-sdk-dotnet.md#troubleshooting).
127142
128143
When you hit the first breakpoint, go back to Data Explorer in the Azure portal and expand the demo* table and click **Entities**. The **Entities** tab on the right shows the new entity that was added, note that phone number for the user is 425-555-0101.
144+
145+
![New entity](media/create-table-dotnet/azure-cosmosdb-entity.png)
129146
130-
6. Close the Entities tab in Data Explorer.
147+
6. Close the **Entities** tab in Data Explorer.
131148
132-
7. Continue to run the app to the next breakpoint.
149+
7. Press F5 to run the app to the next breakpoint.
133150
134-
When you hit the breakpoint, switch back to the portal, click Entities again to open the Entities tab, and note that the phone number has been updated to 425-555-0105.
151+
When you hit the breakpoint, switch back to the portal, click **Entities** again to open the **Entities** tab, and note that the phone number has been updated to 425-555-0105.
135152
136153
8. Back in the console window, press CTRL + C to end the execution of the app.
137154
26.4 KB
Loading
34.8 KB
Loading
12 KB
Loading
43 KB
Loading
10.6 KB
Loading
17.9 KB
Loading
25 KB
Loading

0 commit comments

Comments
 (0)