Skip to content
Docs Try Aspire
Docs Try

withHostPort

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

Signature

method withHostPort builder
Sets the host port for pgweb
withHostPort(port: number): PgWebContainerResource
port number
PgWebContainerResource

Applies to

This method applies to the following types: