From 68f824bcb0602d0107a23a3a2db6850ff21f15b1 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Fri, 6 Jan 2023 12:21:59 -0600 Subject: [PATCH 1/3] restructure .net index page Signed-off-by: Hannah Hunter --- daprdocs/content/en/dotnet-sdk-docs/_index.md | 41 +++++++++++-------- 1 file changed, 24 insertions(+), 17 deletions(-) diff --git a/daprdocs/content/en/dotnet-sdk-docs/_index.md b/daprdocs/content/en/dotnet-sdk-docs/_index.md index 6bdf7893c..5820e5be7 100644 --- a/daprdocs/content/en/dotnet-sdk-docs/_index.md +++ b/daprdocs/content/en/dotnet-sdk-docs/_index.md @@ -9,6 +9,24 @@ no_list: true Dapr offers a variety of packages to help with the development of .NET applications. Using them you can create .NET clients, servers, and virtual actors with Dapr. +## Installation + +To get started with the .NET SDK, install the Dapr .NET SDK package: + +```sh +dotnet install dapr +``` + +## Try it out + +Clone the .NET SDK repo to try out some of the [examples](https://github.com/dapr/dotnet-sdk/tree/master/examples). + +```sh +git clone https://github.com/dapr/dotnet-sdk.git +``` + +## Available packages +
@@ -32,7 +50,11 @@ Dapr offers a variety of packages to help with the development of .NET applicati
-
+ +## More information + +Learn more about local development options, or browse NuGet packages to add to your existing .NET applications. +
@@ -41,21 +63,6 @@ Dapr offers a variety of packages to help with the development of .NET applicati
- -
-
-
Examples
-

Clone the .NET SDK repo to try out some of the examples and get started quickly.

- -
-
-
-
-
Troubleshooting
-

Detailed documentation on the Dapr API, CLI, bindings and more.

- -
-
NuGet packages
@@ -64,4 +71,4 @@ Dapr offers a variety of packages to help with the development of .NET applicati
-
+
\ No newline at end of file From f6e8170f1cbe1d991d101136eb4ff016be4e2a3f Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Fri, 13 Jan 2023 11:00:08 -0600 Subject: [PATCH 2/3] updates to the landing page per Mark/Hal/Nick review Signed-off-by: Hannah Hunter --- daprdocs/content/en/dotnet-sdk-docs/_index.md | 20 +++++++++++++------ .../dotnet-sdk-docs/dotnet-client/_index.md | 8 ++++---- 2 files changed, 18 insertions(+), 10 deletions(-) diff --git a/daprdocs/content/en/dotnet-sdk-docs/_index.md b/daprdocs/content/en/dotnet-sdk-docs/_index.md index 5820e5be7..a21e1a488 100644 --- a/daprdocs/content/en/dotnet-sdk-docs/_index.md +++ b/daprdocs/content/en/dotnet-sdk-docs/_index.md @@ -9,21 +9,29 @@ no_list: true Dapr offers a variety of packages to help with the development of .NET applications. Using them you can create .NET clients, servers, and virtual actors with Dapr. +## Prerequisites + +- [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed +- Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}}) +- [.NET Core 3.1 or .NET 5+](https://dotnet.microsoft.com/download) installed + ## Installation -To get started with the .NET SDK, install the Dapr .NET SDK package: +To get started with the Client .NET SDK, install the Dapr .NET SDK package: ```sh -dotnet install dapr +dotnet add package Dapr.Client --version 1.9.0 ``` ## Try it out -Clone the .NET SDK repo to try out some of the [examples](https://github.com/dapr/dotnet-sdk/tree/master/examples). +Put the Dapr .NET SDK to the test. Walk through the .NET quickstarts and tutorials to see Dapr in action: -```sh -git clone https://github.com/dapr/dotnet-sdk.git -``` +| SDK samples | Description | +| ----------- | ----------- | +| [Quickstarts]({{< ref quickstarts >}}) | Experience Dapr's API building blocks in just a few minutes using the .NET SDK. | +| [SDK samples](https://github.com/dapr/dotnet-sdk/tree/master/examples) | Clone the SDK repo to try out some examples and get started. | +| [Pub/sub tutorial](https://github.com/dapr/quickstarts/tree/master/tutorials/pub-sub) | See how Dapr .NET SDK works alongside other Dapr SDKs to enable pub/sub applications. | ## Available packages diff --git a/daprdocs/content/en/dotnet-sdk-docs/dotnet-client/_index.md b/daprdocs/content/en/dotnet-sdk-docs/dotnet-client/_index.md index e514614d8..64bf1c787 100644 --- a/daprdocs/content/en/dotnet-sdk-docs/dotnet-client/_index.md +++ b/daprdocs/content/en/dotnet-sdk-docs/dotnet-client/_index.md @@ -9,11 +9,11 @@ no_list: true The Dapr client package allows you to interact with other Dapr applications from a .NET application. -## Prerequisites +{{% alert title="Note" color="primary" %}} + If you haven't already, [try out one of the quickstarts]({{< ref quickstarts >}}) for a quick walk-through on how to use the Dapr .NET SDK with an API building block. + +{{% /alert %}} -- [Dapr CLI]({{< ref install-dapr-cli.md >}}) installed -- Initialized [Dapr environment]({{< ref install-dapr-selfhost.md >}}) -- [.NET Core 3.1 or .NET 5+](https://dotnet.microsoft.com/download) installed ## Building blocks From ad8068ea630cddf6287a91e1106888e551c78f5d Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Tue, 17 Jan 2023 15:19:29 -0600 Subject: [PATCH 3/3] remove version Signed-off-by: Hannah Hunter --- daprdocs/content/en/dotnet-sdk-docs/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/dotnet-sdk-docs/_index.md b/daprdocs/content/en/dotnet-sdk-docs/_index.md index a21e1a488..d89dfbe49 100644 --- a/daprdocs/content/en/dotnet-sdk-docs/_index.md +++ b/daprdocs/content/en/dotnet-sdk-docs/_index.md @@ -20,7 +20,7 @@ Dapr offers a variety of packages to help with the development of .NET applicati To get started with the Client .NET SDK, install the Dapr .NET SDK package: ```sh -dotnet add package Dapr.Client --version 1.9.0 +dotnet add package Dapr.Client ``` ## Try it out