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 347 2/25/2025
9.1.1-beta.196 104 2/25/2025
9.1.1-beta.195 78 2/25/2025
9.1.1-beta.194 108 2/25/2025
9.1.1-beta.193 82 2/25/2025
9.1.1-beta.192 111 2/24/2025
9.1.1-beta.191 84 2/24/2025
9.1.1-beta.190 255 2/19/2025
9.1.1-beta.189 106 2/19/2025
9.1.1-beta.188 100 2/19/2025
9.1.1-beta.187 106 2/19/2025
9.1.1-beta.183 107 2/18/2025
9.1.1-beta.182 90 2/18/2025
9.1.1-beta.181 118 2/18/2025
9.1.1-beta.180 106 2/17/2025
9.1.1-beta.178 90 2/17/2025
9.1.1-beta.177 105 2/12/2025
9.1.1-beta.176 112 2/11/2025
9.1.1-beta.175 103 2/11/2025
9.1.1-beta.173 114 2/10/2025
9.1.1-beta.169 101 2/6/2025
9.1.1-beta.168 100 2/5/2025