Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithRepl

Method
📦 Aspire.Hosting.MongoDB v17.0.0
func (MongoDBServerResource) WithRepl() MongoDBServerResource

Signature

methodWithReplbuilder
Adds a REPL command that opens an authenticated MongoDB shell in the dashboard terminal dock.
WithRepl() MongoDBServerResource
MongoDBServerResource

The resource builder for chaining.

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

Applies to

This method applies to the following types: