Skip to content
Docs Try Aspire
Docs Try

MongoDBServerResource.withMongoExpress

Method
📦 Aspire.Hosting.MongoDB v13.4.0
interface MongoDBServerResource {
// ... omitted for brevity
withMongoExpress(configureContainer?: (obj: MongoExpressContainerResource) => Promise<void>, containerName?: string): MongoDBServerResource;
}

Signature

method withMongoExpress builder
Adds a MongoExpress administration and development platform for MongoDB to the application model.
withMongoExpress(configureContainer?: (obj: MongoExpressContainerResource) => Promise<void>, containerName?: string): MongoDBServerResource
configureContainer (obj: MongoExpressContainerResource) => Promise<void> optional
containerName string optional
MongoDBServerResource

Defined on

This method is defined on the following type: