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