Skip to content
Docs Try Aspire
Docs Try

withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.Azure.Extensions v13.4.0
interface AzureStorageExplorerResource {
// ... omitted for brevity
withHostPort(port: number): AzureStorageExplorerResource;
}

Signature

method withHostPort builder
Configures the host port that the Azure Storage Explorer resource is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureStorageExplorerResource
port number
AzureStorageExplorerResource

Applies to

This method applies to the following types: