# CommunityToolkit.Aspire.Hosting.RavenDB

- Module: `CommunityToolkit.Aspire.Hosting.RavenDB`
- Version: `13.6.1`
- Import path: `apphost/modules/aspire`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)
- Functions: `6`
- Types: `2`

## Handles

- [RavenDBDatabaseResource](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/ravendbdatabaseresource.md) -- `handle` - 3 members -- A resource that represents a RavenDB database. This is a child resource of a `RavenDBServerResource`.
- [RavenDBServerResource](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/ravendbserverresource.md) -- `handle` - 12 members -- A resource that represents a RavenDB container.

## Functions

- [AddRavenDB](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/addravendb.md) -- `method` - on `DistributedApplicationBuilder` -- 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.
- [AddDatabase](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/adddatabase.md) -- `method` - on `RavenDBServerResource` -- Adds a database resource to an existing RavenDB server resource.
- [WithDataBindMount](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/withdatabindmount.md) -- `method` - on `RavenDBServerResource` -- Adds a bind mount for the data folder to a RavenDB container resource.
- [WithDataVolume](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/withdatavolume.md) -- `method` - on `RavenDBServerResource` -- Adds a named volume for the data folder to a RavenDB container resource.
- [WithLogBindMount](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/withlogbindmount.md) -- `method` - on `RavenDBServerResource` -- Adds a bind mount for the logs folder to a RavenDB container resource.
- [WithLogVolume](/reference/api/go/communitytoolkit.aspire.hosting.ravendb/withlogvolume.md) -- `method` - on `RavenDBServerResource` -- Adds a named volume for the logs folder to a RavenDB container resource.
