Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddKurrentDB

Method
📦 CommunityToolkit.Aspire.Hosting.KurrentDB v13.6.1
func (DistributedApplicationBuilder) AddKurrentDB(
name string,
options ...*AddKurrentDBOptions,
) 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,
options ...*AddKurrentDBOptions,
) KurrentDBResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddKurrentDBOptionsOptional settings, described under Options.

Optional parameters are passed in a trailing options ...*AddKurrentDBOptions argument.

Port*float64The port on which the KurrentDB endpoint will be exposed.
KurrentDBResource

A reference to the IResourceBuilder.

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder