Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

AddAdminer

Method
📦 CommunityToolkit.Aspire.Hosting.Adminer v13.6.1
func (DistributedApplicationBuilder) AddAdminer(
name string,
options ...*AddAdminerOptions,
) AdminerContainerResource

Signature

methodAddAdminerbuilder
Adds a Adminer container resource to the application.
AddAdminer(
name string,
options ...*AddAdminerOptions,
) AdminerContainerResource
namestringThe name of the resource. This name will be used as the connection string name when referenced in a dependency.
options...*AddAdminerOptionsOptional settings, described under Options.

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

Port*float64The host port to bind the underlying container to.
AdminerContainerResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types:

typeDistributedApplicationBuilder