The documentation you are viewing is for Dapr v1.12 which is an older version of Dapr. For up-to-date documentation, see the latest version.

.NET

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

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

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.