Skip to main content
net8.0net9.0net10.0

An Aspire integration leveraging the RavenDB container.

Published
Nov 22, 2025
11mo ago
Total Downloads
74.2K
74,220

Install

dotnet add package CommunityToolkit.Aspire.Hosting.RavenDB --version 13.0.0-beta.448
ProductVersions
.NET
net10.0net8.0net9.0

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

https://github.com/CommunityToolkit/Aspire

Changes from Previous Version

No structural changes between v13.0.0-beta.444 and v13.0.0-beta.448.

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.