Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithAdminer

Method
📦 CommunityToolkit.Aspire.Hosting.SqlServer.Extensions v13.6.1
func (SqlServerServerResource) WithAdminer(options ...*WithAdminerOptions) SqlServerServerResource

Signature

methodWithAdminerbuilder
Adds an administration and development platform for SqlServer to the application model using Adminer.
WithAdminer(options ...*WithAdminerOptions) SqlServerServerResource
options...*WithAdminerOptionsOptional settings, described under Options.

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

ContainerName*stringThe name of the container (Optional).
ImageTag*stringOptional image tag override for the Adminer container.
SqlServerServerResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types: