Skip to content
DocsTry Aspire
DocsTry

AzureAppConfigurationEmulatorResource.withHostPort

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

Signature

methodwithHostPortbuilder
Configures the host port for the Azure App Configuration emulator is exposed on instead of using randomly assigned port.
withHostPort(port: number): AzureAppConfigurationEmulatorResource
portnumber
AzureAppConfigurationEmulatorResource

Defined on

This method is defined on the following type: