Skip to content
Docs Try Aspire
Docs Try

withHostPort

Method
📦 Aspire.Hosting.Redis v13.2.0
interface RedisCommanderResource {
// ... omitted for brevity
withHostPort(port: number): RedisCommanderResource;
}

Signature

method withHostPort builder
Sets the host port for Redis Commander
withHostPort(port: number): RedisCommanderResource
port number
RedisCommanderResource

Applies to

This method applies to the following types: