Skip to content
DocsTry Aspire
DocsTry

FlociUIContainerResource.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

Defined on

This method is defined on the following type: