net8.0net9.0
An Aspire integration leveraging the RavenDB container.
Published
Aug 29, 2025
1y ago
Total Downloads
74.2K
74,220
Install
dotnet add package CommunityToolkit.Aspire.Hosting.RavenDB --version 9.7.2-beta.360
| Product | Versions |
|---|---|
| .NET |
README
CommunityToolkit.Aspire.Hosting.RavenDB library
Provides extension methods and resource definitions for a .NET Aspire AppHost to configure a RavenDB resource.
Getting started
Install the package
In your AppHost project, install the .NET Aspire RavenDB Hosting library with NuGet:
dotnet add package CommunityToolkit.Aspire.Hosting.RavenDB
Usage example
Then, in the Program.cs file of AppHost, add a RavenDB resource and consume the connection using the following methods:
var db = builder.AddRavenDB("ravendb").AddDatabase("mydb");
var myService = builder.AddProject<Projects.MyService>()
.WithReference(db);
Additional documentation
https://learn.microsoft.com/dotnet/aspire/community-toolkit/ravendb
Feedback & contributing
Changes from Previous Version
No structural changes between v9.7.2-beta.359 and v9.7.2-beta.360.
Adoption Assessment
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
This version is marked prerelease. Validate its API and upgrade path before production use.Compatibility metadata lists 2 target frameworks; confirm the exact target used by your application.
Related Guides & Workflows
Learn how to evaluate, integrate, or audit this package in your .NET project.