Skip to content
DocsTry Aspire
DocsTry

addDbGate

Method
📦 CommunityToolkit.Aspire.Hosting.DbGate v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addDbGate(
name?: string,
port?: number): DbGateContainerResource;
}

Signature

methodaddDbGatebuilder
Adds a DbGate container resource to the application.
addDbGate(
name?: string,
port?: number): DbGateContainerResource
namestringoptional= dbgate
portnumberoptional
DbGateContainerResource

Applies to

This method applies to the following types: