addKurrentDB

Method
📦 CommunityToolkit.Aspire.Hosting.KurrentDB v13.6.1
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addKurrentDB(
name: string,
port?: number): KurrentDBResource;
}

Signature

methodaddKurrentDBbuilder
Adds a KurrentDB resource to the application model. A container is used for local development. The default image is and the tag is .
addKurrentDB(
name: string,
port?: number): KurrentDBResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
portnumberoptionalThe port on which the KurrentDB endpoint will be exposed.
KurrentDBResource

Applies to

This method applies to the following types: