net10.0net8.0net9.0
An Aspire integration leveraging the RavenDB container.
Published
May 14, 2026
5mo ago
Total Downloads
74.2K
74,220
Install
dotnet add package CommunityToolkit.Aspire.Hosting.RavenDB --version 13.2.1-beta.604
| Product | Versions |
|---|---|
| .NET |
README
CommunityToolkit.Aspire.Hosting.RavenDB library
Provides extension methods and resource definitions for an Aspire AppHost to configure a RavenDB resource.
Getting started
Install the package
In your AppHost project, install the 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 v13.2.1-beta.532 and v13.2.1-beta.604.
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 3 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.