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