Skip to content

Commit 136202f

Browse files
committed
Fix deployment bugs
1 parent 7bb7281 commit 136202f

File tree

8 files changed

+94
-8
lines changed

8 files changed

+94
-8
lines changed

articles/cosmos-db/nosql/TOC.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@
2929
href: quickstart-terraform.md
3030
- name: Tutorials
3131
items:
32+
- name: Build web applications
33+
items:
34+
- name: .NET
35+
href: tutorial-dotnet-console-app.md
36+
- name: Build console applications
37+
items:
38+
- name: .NET
39+
href: tutorial-dotnet-web-app.md
3240
- name: Create and manage data
3341
items:
3442
- name: Build a console app
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
title: include file
3+
description: include file
4+
author: seesharprun
5+
ms.author: sidandrews
6+
ms.reviewer: esarroyo
7+
ms.service: cosmos-db
8+
ms.subservice: nosql
9+
ms.date: 11/02/2022
10+
ms.custom: include file
11+
---
12+
13+
> [!div class="op_single_selector"]
14+
>
15+
> * [.NET](../tutorial-dotnet-console-app.md)
16+
>

articles/cosmos-db/nosql/includes/tutorial-web-app-selector.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.custom: include file
1212

1313
> [!div class="op_single_selector"]
1414
>
15-
> * [.NET](tutorial-dotnet-web-app.md)
16-
> * [Java](tutorial-java-web-app.md)
17-
> * [Node.js](tutorial-nodejs-web-app.md)
15+
> * [.NET](../tutorial-dotnet-web-app.md)
16+
> * [Java](../tutorial-java-web-app.md)
17+
> * [Node.js](../tutorial-nodejs-web-app.md)
1818
>
26.2 KB
Loading
12.9 KB
Loading

articles/cosmos-db/nosql/quickstart-dotnet.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ Created item: 68719518391 [gear-surf-surfboards]
194194

195195
## Next steps
196196

197-
In this quickstart, you learned how to create an Azure Cosmos DB for NoSQL account, create a database, and create a container using the .NET SDK. You can now dive deeper into the SDK to import more data, perform complex queries, and manage your Azure Cosmos DB for NoSQL resources.
197+
In this quickstart, you learned how to create an Azure Cosmos DB for NoSQL account, create a database, and create a container using the .NET SDK. You can now dive deeper into a tutorial where you manage your Azure Cosmos DB for NoSQL resources and data using a .NET console application.
198198

199199
> [!div class="nextstepaction"]
200-
> [Get started with Azure Cosmos DB for NoSQL and .NET](how-to-dotnet-get-started.md)
200+
> [Tutorial: Develop a .NET console application with Azure Cosmos DB for NoSQL](tutorial-dotnet-console-app.md)
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
---
2+
title: |
3+
Tutorial: Develop a .NET console application with Azure Cosmos DB for NoSQL
4+
description: |
5+
.NET tutorial to create a console application that adds data to Azure Cosmos DB for NoSQL.
6+
author: seesharprun
7+
ms.author: sidandrews
8+
ms.reviewer: esarroyo
9+
ms.service: cosmos-db
10+
ms.subservice: nosql
11+
ms.topic: tutorial
12+
ms.date: 11/02/2022
13+
ms.devlang: csharp
14+
ms.custom: devx-track-dotnet, ignite-2022, cosmos-dev-refresh, cosmos-dev-dotnet-path
15+
---
16+
17+
# Tutorial: Develop a .NET console application with Azure Cosmos DB for NoSQL
18+
19+
[!INCLUDE[NoSQL](../includes/appliesto-nosql.md)]
20+
21+
[!INCLUDE[Console app language selector](includes/tutorial-console-app-selector.md)]
22+
23+
The Azure SDK for .NET allows you to add data to an API for NoSQL container either [individually]() or by using a [transactional batch](). This tutorial will walk through the process of create a new .NET console application that adds multiple items to a container.
24+
25+
In this tutorial, you learn how to:
26+
27+
> [!div class="checklist"]
28+
>
29+
> - Create a database using API for NoSQL
30+
> - Create a .NET console application and add the Azure SDK for .NET
31+
> - Add and modify individual items in an API for NoSQL container
32+
> - Create a transaction with batch changes for the API for NoSQL container
33+
>
34+
35+
## Prerequisites
36+
37+
- An existing Azure Cosmos DB for NoSQL account.
38+
- If you have an Azure subscription, [create a new account](how-to-create-account.md?tabs=azure-portal).
39+
- If you don't have an Azure subscription, create a [free account](https://azure.microsoft.com/free/?WT.mc_id=A261C142F) before you begin.
40+
- Alternatively, you can [try Azure Cosmos DB free](../try-free.md) before you commit.
41+
- [Visual Studio Code](https://code.visualstudio.com)
42+
- [.NET 6 (LTS) or later](https://dotnet.microsoft.com/download/dotnet/6.0)
43+
- Experience writing C# applications.
44+
45+
## Create API for NoSQL resources
46+
47+
## Create .NET console application
48+
49+
## Manage items in a container using the SDK
50+
51+
## Create a transaction using the SDK
52+
53+
## Clean up resources
54+
55+
When no longer needed, delete the database used in this tutorial. To do so, navigate to the account page, select **Data Explorer**, select the `cosmicworks` database, and then select **Delete**.
56+
57+
## Next steps
58+
59+
Now that you've created your first .NET console application using Azure Cosmos DB, try the next tutorial where you'll update an existing web application to use Azure Cosmos DB data.
60+
61+
> [!div class="nextstepaction"]
62+
> [Tutorial: Develop an ASP.NET web application with Azure Cosmos DB for NoSQL](tutorial-dotnet-web-app.md)

articles/cosmos-db/nosql/tutorial-dotnet-web-app.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ms.custom: devx-track-dotnet, ignite-2022, cosmos-dev-refresh, cosmos-dev-dotnet
1818

1919
[!INCLUDE[NoSQL](../includes/appliesto-nosql.md)]
2020

21-
[!INCLUDE[Language selector]](includes/tutorial-web-app-selector.md)
21+
[!INCLUDE[Web app language selector](includes/tutorial-web-app-selector.md)]
2222

2323
The Azure SDK for .NET allows you to query data in an API for NoSQL container using [LINQ in C#](how-to-dotnet-query-items.md#query-items-using-linq-asynchronously) or a [SQL query string](how-to-dotnet-query-items.md#query-items-using-a-sql-query-asynchronously). This tutorial will walk through the process of updating an existing ASP.NET web application that uses placeholder data to instead query from the API.
2424

@@ -28,7 +28,7 @@ In this tutorial, you learn how to:
2828
>
2929
> - Create and populate a database and container using API for NoSQL
3030
> - Create an ASP.NET web application from a template
31-
> - Query data from the API for NoSQL container using the .NET SDK
31+
> - Query data from the API for NoSQL container using the Azure SDK for .NET
3232
>
3333
3434
## Prerequisites
@@ -490,7 +490,7 @@ Finally, you'll run the application with **hot reloads** enabled. Running the ap
490490
491491
## Clean up resources
492492
493-
When no longer needed, delete the container used in this tutorial. To do so, navigate to the account page, select **Data Explorer**, select the `cosmicworks` database, and then select **Delete**.
493+
When no longer needed, delete the database used in this tutorial. To do so, navigate to the account page, select **Data Explorer**, select the `cosmicworks` database, and then select **Delete**.
494494
495495
## Next steps
496496

0 commit comments

Comments
 (0)