Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithBindIpAll

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

Signature

methodWithBindIpAllbuilder
Configures the MongoDB server to bind to and listen on all network interfaces.
WithBindIpAll() MongoDBServerResource
MongoDBServerResource

The resource builder.

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

Applies to

This method applies to the following types: