Watch Aspire live streamsDocsTry Aspire

withTunnelReferenceAll

Method
📦 Aspire.Hosting.DevTunnels v13.6.0
interface DevTunnelResource {
// ... omitted for brevity
withTunnelReferenceAll(
resourceBuilder: IResourceWithEndpoints,
allowAnonymous: boolean): DevTunnelResource;
}

Signature

methodwithTunnelReferenceAllbuilder
Adds ports on the dev tunnel for all endpoints found on the referenced resource and sets whether anonymous access is allowed.
withTunnelReferenceAll(
resourceBuilder: IResourceWithEndpoints,
allowAnonymous: boolean): DevTunnelResource
resourceBuilderIResourceWithEndpoints
allowAnonymousboolean
DevTunnelResource

Applies to

This method applies to the following types: