Restructure .NET sdk landing page (#1006)

* restructure .net index page

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* updates to the landing page per Mark/Hal/Nick review

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

* remove version

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2023-01-20 18:35:09 -06:00 committed by GitHub
parent 2aa4806c44
commit 117c5ad1cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 21 deletions

View File

@ -9,6 +9,32 @@ 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 Client .NET SDK, install the Dapr .NET SDK package:
```sh
dotnet add package Dapr.Client
```
## Try it out
Put the Dapr .NET SDK to the test. Walk through the .NET quickstarts and tutorials to see Dapr in action:
| 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
<div class="card-deck">
<div class="card">
<div class="card-body">
@ -32,7 +58,11 @@ Dapr offers a variety of packages to help with the development of .NET applicati
</div>
</div>
</div>
<br />
## More information
Learn more about local development options, or browse NuGet packages to add to your existing .NET applications.
<div class="card-deck">
<div class="card">
<div class="card-body">
@ -41,21 +71,6 @@ Dapr offers a variety of packages to help with the development of .NET applicati
<a href="{{< ref dotnet-development >}}" class="stretched-link"></a>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><b>Examples</b></h5>
<p class="card-text">Clone the .NET SDK repo to try out some of the examples and get started quickly.</p>
<a href="https://github.com/dapr/dotnet-sdk/tree/master/examples" class="stretched-link"></a>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><b>Troubleshooting</b></h5>
<p class="card-text">Detailed documentation on the Dapr API, CLI, bindings and more.</p>
<a href="{{< ref reference >}}" class="stretched-link"></a>
</div>
</div>
<div class="card">
<div class="card-body">
<h5 class="card-title"><b>NuGet packages</b></h5>
@ -64,4 +79,4 @@ Dapr offers a variety of packages to help with the development of .NET applicati
</div>
</div>
</div>
<br />
<br />

View File

@ -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