Skip to content
Docs Try Aspire
Docs Try

withTunnelReference

Method
📦 Aspire.Hosting.DevTunnels v13.3.0
interface DevTunnelResource {
// ... omitted for brevity
withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResource;
}

Signature

method withTunnelReference builder
Configures the dev tunnel to expose a target endpoint.
withTunnelReference(targetEndpoint: EndpointReference): DevTunnelResource
targetEndpoint EndpointReference
DevTunnelResource

Applies to

This method applies to the following types: