1 write to TunnelEndpointAnnotation
Aspire.Hosting.DevTunnels (1)
DevTunnelResource.cs (1)
76
TunnelEndpointAnnotation
= new EndpointAnnotation(
10 references to TunnelEndpointAnnotation
Aspire.Hosting.DevTunnels (7)
DevTunnelResource.cs (1)
82
TunnelEndpoint = new(targetEndpoint.Resource,
TunnelEndpointAnnotation
);
DevTunnelResourceBuilderExtensions.cs (6)
158
portResource.
TunnelEndpointAnnotation
.AllocatedEndpointSnapshot.SetException(exception);
216
portResource.
TunnelEndpointAnnotation
.AllocatedEndpointSnapshot.SetException(ex);
588
portResource.Annotations.Add(portResource.
TunnelEndpointAnnotation
);
716
var raiseEndpointsAllocatedEvent = portResource.
TunnelEndpointAnnotation
.AllocatedEndpoint is null;
717
portResource.
TunnelEndpointAnnotation
.AllocatedEndpoint = new(portResource.
TunnelEndpointAnnotation
, tunnelPortStatus.PortUri.Host, 443 /* Always 443 for public tunnel endpoint */);
Aspire.Hosting.DevTunnels.Tests (3)
DevTunnelResourceBuilderExtensionsTests.cs (3)
36
tunnelPort.
TunnelEndpointAnnotation
.AllocatedEndpoint = new(tunnelPort.
TunnelEndpointAnnotation
, "test123.devtunnels.ms", 443);
636
Assert.Equal("n4skq32k-3000.use.devtunnels.ms", tunnelPort.
TunnelEndpointAnnotation
.AllocatedEndpoint?.Address);