1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
80EndpointAnnotation = sba;
14 references to EndpointAnnotation
Aspire.Hosting (14)
Dcp\DcpExecutor.cs (14)
959if (!svc.HasCompleteAddress && sp.EndpointAnnotation.IsProxied) 966if (!sp.EndpointAnnotation.IsProxied && svc.AllocatedPort is null) 968throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.EndpointAnnotation.Name}' since it isn't using a proxy."); 971var (targetHost, bindingMode) = NormalizeTargetHost(sp.EndpointAnnotation.TargetHost); 973sp.EndpointAnnotation.AllocatedEndpoint = new AllocatedEndpoint( 974sp.EndpointAnnotation, 1017StringComparers.EndpointAnnotationName.Equals(swr.EndpointAnnotation.Name, endpoint.Name) 1027var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.AllocatedPort! : serverSvc.EndpointAnnotation.AllocatedEndpoint!.Port; 1199StringComparers.EndpointAnnotationName.Equals(swr.EndpointAnnotation.Name, endpoint.Name) 2207var ea = sp.EndpointAnnotation; 2727var ea = sp.EndpointAnnotation; 2739switch (sp.EndpointAnnotation.Protocol) 2749if (sp.EndpointAnnotation.TargetHost != KnownHostNames.Localhost) 2751portSpec.HostIP = sp.EndpointAnnotation.TargetHost;