Skip to content
Docs Try Aspire
Docs Try

withDbGate

Method
📦 CommunityToolkit.Aspire.Hosting.MongoDB.Extensions v13.4.0
interface MongoDBServerResource {
// ... omitted for brevity
withDbGate(containerName?: string): MongoDBServerResource;
}

Signature

method withDbGate builder
Adds an administration and development platform for MongoDB to the application model using DbGate.
withDbGate(containerName?: string): MongoDBServerResource
containerName string optional
MongoDBServerResource

Applies to

This method applies to the following types: