Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMongoExpress

Method
📦 Aspire.Hosting.MongoDB v17.0.0
func (MongoDBServerResource) WithMongoExpress(options ...*WithMongoExpressOptions) MongoDBServerResource

Signature

methodWithMongoExpressbuilder
Adds a MongoExpress administration and development platform for MongoDB to the application model.
WithMongoExpress(options ...*WithMongoExpressOptions) MongoDBServerResource
options...*WithMongoExpressOptionsOptional settings, described under Options.

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

ConfigureContainerfunc(obj MongoExpressContainerResource)callbackConfiguration callback for Mongo Express container resource.
ContainerName*stringThe name of the container (Optional).
MongoDBServerResource

The resource builder.

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

Applies to

This method applies to the following types: