Skip to content
DocsTry Aspire
DocsTry

withHostPort

Method
📦 CommunityToolkit.Aspire.Hosting.Floci v13.5.0
interface FlociUIContainerResource {
// ... omitted for brevity
withHostPort(port: number): FlociUIContainerResource;
}

Signature

methodwithHostPortbuilder
Configures the host port that the Floci UI resource is exposed on instead of using a randomly assigned port.
withHostPort(port: number): FlociUIContainerResource
portnumber
FlociUIContainerResource

Applies to

This method applies to the following types: