Respire.Aspire
0.13.3
Prefix Reserved
dotnet add package Respire.Aspire --version 0.13.3
NuGet\Install-Package Respire.Aspire -Version 0.13.3
<PackageReference Include="Respire.Aspire" Version="0.13.3" />
<PackageVersion Include="Respire.Aspire" Version="0.13.3" />
<PackageReference Include="Respire.Aspire" />
paket add Respire.Aspire --version 0.13.3
#r "nuget: Respire.Aspire, 0.13.3"
#:package Respire.Aspire@0.13.3
#addin nuget:?package=Respire.Aspire&version=0.13.3
#tool nuget:?package=Respire.Aspire&version=0.13.3
Respire.Aspire
Register Respire clients from Aspire connection strings, with health checks, logging, and OpenTelemetry.
Install
dotnet add package Respire.Aspire
dotnet add package Microsoft.Extensions.Hosting
Usage
using Microsoft.Extensions.Hosting;
var builder = Host.CreateApplicationBuilder();
builder.Configuration["ConnectionStrings:cache"] = "redis://localhost:6379";
builder.AddRespireClient("cache");
await builder.Build().RunAsync();
Register this in the consuming service. An Aspire AppHost resource reference can supply ConnectionStrings:cache instead of the explicit local setting. The host owns the client.
Read the guide for configuration, requirements, and further examples.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. 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. net11.0 is compatible. |
-
net10.0
- Microsoft.Extensions.Configuration.Binder (>= 10.0.13)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.13)
- OpenTelemetry.Extensions.Hosting (>= 1.20.1)
- Respire.DependencyInjection (>= 0.13.3)
- Respire.HealthChecks (>= 0.13.3)
-
net11.0
- Microsoft.Extensions.Configuration.Binder (>= 10.0.13)
- OpenTelemetry.Extensions.Hosting (>= 1.20.1)
- Respire.DependencyInjection (>= 0.13.3)
- Respire.HealthChecks (>= 0.13.3)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Respire.Aspire:
| Package | Downloads |
|---|---|
|
Respire.Aspire.DistributedCaching
Distributed caching on an existing default or keyed Aspire Respire client. |
|
|
Respire.Aspire.OutputCaching
ASP.NET Core output caching on an existing default or keyed Aspire Respire client. |
GitHub repositories
This package is not used by any popular GitHub repositories.