Skip to content
DocsTry Aspire
DocsTry

withResourcePort

Method
📦 CommunityToolkit.Aspire.Hosting.Logto v13.5.0
interface LogtoResource {
// ... omitted for brevity
withResourcePort(
port?: number,
adminPort?: number): LogtoResource;
}

Signature

methodwithResourcePortbuilder
Configures HTTP endpoints for the given Logto resource builder with specified port settings.
withResourcePort(
port?: number,
adminPort?: number): LogtoResource
portnumberoptional
adminPortnumberoptional
LogtoResource

Applies to

This method applies to the following types: