Skip to content
DocsTry Aspire
DocsTry

addNgrok

Method
📦 CommunityToolkit.Aspire.Hosting.Ngrok v13.4.0
interface IDistributedApplicationBuilder {
// ... omitted for brevity
addNgrok(
name: string,
configurationFolder?: string,
endpointPort?: number,
endpointName?: string,
configurationVersion?: number): NgrokResource;
}

Signature

methodaddNgrokbuilder
Configures a container resource for grok which is pre-configured to connect to the resource that this method is used on.
addNgrok(
name: string,
configurationFolder?: string,
endpointPort?: number,
endpointName?: string,
configurationVersion?: number): NgrokResource
namestring
configurationFolderstringoptional
endpointPortnumberoptional
endpointNamestringoptional
configurationVersionnumberoptional
NgrokResource

Applies to

This method applies to the following types: