CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis 9.1.1-beta.197

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.197
                    
NuGet\Install-Package CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis -Version 9.1.1-beta.197
                    
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.197" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis" Version="9.1.1-beta.197" />
                    
Directory.Packages.props
<PackageReference Include="CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis --version 9.1.1-beta.197
                    
#r "nuget: CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis, 9.1.1-beta.197"
                    
#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.
#:package CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis@9.1.1-beta.197
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis&version=9.1.1-beta.197&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=CommunityToolkit.Aspire.Hosting.Dapr.AzureRedis&version=9.1.1-beta.197&prerelease
                    
Install as a Cake Tool

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 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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.197 1,167 2/25/2025
9.1.1-beta.196 201 2/25/2025
9.1.1-beta.195 166 2/25/2025
9.1.1-beta.194 192 2/25/2025
9.1.1-beta.193 179 2/25/2025
9.1.1-beta.192 226 2/24/2025
9.1.1-beta.191 170 2/24/2025
9.1.1-beta.190 399 2/19/2025
9.1.1-beta.189 201 2/19/2025
9.1.1-beta.188 203 2/19/2025
9.1.1-beta.187 202 2/19/2025
9.1.1-beta.183 197 2/18/2025
9.1.1-beta.182 167 2/18/2025
9.1.1-beta.181 205 2/18/2025
9.1.1-beta.180 184 2/17/2025
9.1.1-beta.178 177 2/17/2025
9.1.1-beta.177 188 2/12/2025
9.1.1-beta.176 192 2/11/2025
9.1.1-beta.175 191 2/11/2025
9.1.1-beta.173 193 2/10/2025
Loading failed