.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
- Dapr CLI installed
- Initialized Dapr environment
- .NET 6, .NET 8 or .NET 9 installed
Note
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.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
More information
Learn more about local development options, or browse NuGet packages to add to your existing .NET applications.