1 write to TunnelEndpointAnnotation
Aspire.Hosting.DevTunnels (1)
DevTunnelResource.cs (1)
63
TunnelEndpointAnnotation
= new EndpointAnnotation(
9 references to TunnelEndpointAnnotation
Aspire.Hosting.DevTunnels (7)
DevTunnelResource.cs (1)
69
TunnelEndpoint = new(targetEndpoint.Resource,
TunnelEndpointAnnotation
);
DevTunnelResourceBuilderExtensions.cs (6)
143
portResource.
TunnelEndpointAnnotation
.AllocatedEndpointSnapshot.SetException(exception);
198
portResource.
TunnelEndpointAnnotation
.AllocatedEndpointSnapshot.SetException(ex);
494
portResource.Annotations.Add(portResource.
TunnelEndpointAnnotation
);
605
var raiseEndpointsAllocatedEvent = portResource.
TunnelEndpointAnnotation
.AllocatedEndpoint is null;
606
portResource.
TunnelEndpointAnnotation
.AllocatedEndpoint = new(portResource.
TunnelEndpointAnnotation
, tunnelPortStatus.PortUri.Host, 443 /* Always 443 for public tunnel endpoint */);
Aspire.Hosting.DevTunnels.Tests (2)
DevTunnelResourceBuilderExtensionsTests.cs (2)
26
tunnelPort.
TunnelEndpointAnnotation
.AllocatedEndpoint = new(tunnelPort.
TunnelEndpointAnnotation
, "test123.devtunnels.ms", 443);