CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis
9.1.1-beta.190
Prefix Reserved
This is a prerelease version of CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis.
dotnet add package CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis --version 9.1.1-beta.190
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis -Version 9.1.1-beta.190
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis" Version="9.1.1-beta.190" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis --version 9.1.1-beta.190
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis, 9.1.1-beta.190"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis as a Cake Addin #addin nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis&version=9.1.1-beta.190&prerelease // Install CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis as a Cake Tool #tool nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis&version=9.1.1-beta.190&prerelease
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis library
This package provides .NET Aspire integration for Azure Redis as a Dapr component. It allows you to configure dapr state to use Azure Redis as part of your .NET Aspire AppHost projects.
Usage
To use this package, install it into your .NET Aspire AppHost project:
dotnet add package CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis
var builder = DistributedApplication.CreateBuilder(args);
var redisState = builder.AddAzureRedis("redisState")
.RunAsContainer(); // for local development
var daprState = builder.AddDaprStateStore("daprState")
.WithReference(redisState); //instructs aspire to use azure redis when publishing
var api = builder.AddProject<Projects.MyApiService>("example-api")
.WithReference(daprState)
.WithDaprSidecar();
builder.Build().Run();
Notes
The current version of the integration currently focuses on publishing and does not make any changes to how dapr components are handled in local development
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- Aspire.Hosting.Azure.Redis (>= 9.0.0)
- Azure.Provisioning.AppContainers (>= 1.0.0)
- CommunityToolkit.Aspire.Hosting.Dapr (>= 9.1.1-beta.190)
-
net9.0
- Aspire.Hosting.Azure.Redis (>= 9.0.0)
- Azure.Provisioning.AppContainers (>= 1.0.0)
- CommunityToolkit.Aspire.Hosting.Dapr (>= 9.1.1-beta.190)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
9.1.1-beta.190 | 0 | 2/19/2025 |
9.1.1-beta.189 | 0 | 2/19/2025 |
9.1.1-beta.188 | 0 | 2/19/2025 |
9.1.1-beta.187 | 26 | 2/19/2025 |
9.1.1-beta.183 | 35 | 2/18/2025 |
9.1.1-beta.182 | 35 | 2/18/2025 |
9.1.1-beta.181 | 32 | 2/18/2025 |
9.1.1-beta.180 | 30 | 2/17/2025 |
9.1.1-beta.178 | 35 | 2/17/2025 |
9.1.1-beta.177 | 35 | 2/12/2025 |
9.1.1-beta.176 | 35 | 2/11/2025 |
9.1.1-beta.175 | 34 | 2/11/2025 |
9.1.1-beta.173 | 39 | 2/10/2025 |
9.1.1-beta.169 | 29 | 2/6/2025 |
9.1.1-beta.168 | 27 | 2/5/2025 |