Skip to content
Docs Try Aspire
Docs Try

addRavenDB

Method
📦 CommunityToolkit.Aspire.Hosting.RavenDB v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addRavenDB(name: string): RavenDBServerResource;
}

Signature

method addRavenDB builder
Adds a RavenDB server resource to the application model. A container is used for local development. This overload simplifies the configuration by creating an unsecured RavenDB server resource with default settings.
addRavenDB(name: string): RavenDBServerResource
name string
RavenDBServerResource

Applies to

This method applies to the following types: