DevTunnelResource.WithTunnelReferenceAll

Method
📦 Aspire.Hosting.DevTunnels v17.0.0
type DevTunnelResource interface {
// ... omitted for brevity
WithTunnelReferenceAll(
resourceBuilder ResourceWithEndpoints,
allowAnonymous bool,
) 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 ResourceWithEndpoints,
allowAnonymous bool,
) DevTunnelResource
resourceBuilderResourceWithEndpointsThe resource builder for the referenced resource.
allowAnonymousboolWhether anonymous access is allowed.
DevTunnelResource

The resource builder.

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: