dotnet-sdk/daprdocs/content/en/dotnet-sdk-docs/_index.md

4.4 KiB

type title linkTitle weight description no_list cascade
docs Dapr .NET SDK .NET 1000 .NET SDK packages for developing Dapr applications true
github_repo github_subdir path_base_for_github_subdir github_branch
https://github.com/dapr/dotnet-sdk daprdocs/content/en/dotnet-sdk-docs content/en/developing-applications/sdks/dotnet/ master

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 6, .NET 8 or .NET 9 installed

{{% alert title="Note" color="primary" %}}

Note that while .NET 6 is generally supported as the minimum .NET requirement across the Dapr .NET SDK packages and .NET 7 is the minimally supported version of .NET by Dapr.Workflows in Dapr v1.15, only .NET 8 and .NET 9 will continue to be supported by Dapr in v1.16 and later.

{{% /alert %}}

Installation

To get started with the Client .NET SDK, install the Dapr .NET SDK package:

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 Clone the SDK repo to try out some examples and get started.
Pub/sub tutorial See how Dapr .NET SDK works alongside other Dapr SDKs to enable pub/sub applications.

Available packages

Client

Create .NET clients that interact with a Dapr sidecar and other Dapr applications.

Server

Write servers and services in .NET using the Dapr SDK. Includes support for ASP.NET.

Actors

Create virtual actors with state, reminders/timers, and methods in .NET.

Workflow

Create and manage workflows that work with other Dapr APIs in .NET.

Jobs

Create and manage the scheduling and orchestration of jobs in .NET.

AI

Create and manage AI operations in .NET

More information

Learn more about local development options, or browse NuGet packages to add to your existing .NET applications.

Development

Learn about local development options for .NET Dapr applications

NuGet packages

Dapr packages for adding the .NET SDKs to your .NET applications.