Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithDbGate

Method
📦 CommunityToolkit.Aspire.Hosting.MySql.Extensions v13.6.1
func (MySqlServerResource) WithDbGate(options ...*WithDbGateOptions) MySqlServerResource

Signature

methodWithDbGatebuilder
Adds an administration and development platform for MySql to the application model using DbGate.
WithDbGate(options ...*WithDbGateOptions) MySqlServerResource
options...*WithDbGateOptionsOptional settings, described under Options.

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

ConfigureContainerfunc(obj DbGateContainerResource)callback
ContainerName*string
MySqlServerResource

A reference to the IResourceBuilder.

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

Applies to

This method applies to the following types: