Skip to content
Docs Try Aspire
Docs Try

addDbGate

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

Signature

method addDbGate builder
Adds a DbGate container resource to the application.
addDbGate(
name?: string,
port?: number): DbGateContainerResource
name string optional = dbgate
port number optional
DbGateContainerResource

Applies to

This method applies to the following types: