1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
42EndpointAnnotation = sba;
11 references to EndpointAnnotation
Aspire.Hosting (11)
Dcp\DcpExecutor.cs (11)
835if (!svc.HasCompleteAddress && sp.EndpointAnnotation.IsProxied) 841if (!sp.EndpointAnnotation.IsProxied && svc.AllocatedPort is null) 843throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.EndpointAnnotation.Name}' since it isn't using a proxy."); 846var (targetHost, bindingMode) = NormalizeTargetHost(sp.EndpointAnnotation.TargetHost); 848sp.EndpointAnnotation.AllocatedEndpoint = new AllocatedEndpoint( 849sp.EndpointAnnotation, 1585var ea = sp.EndpointAnnotation; 1997var ea = sp.EndpointAnnotation; 2009switch (sp.EndpointAnnotation.Protocol) 2019if (sp.EndpointAnnotation.TargetHost != "localhost") 2021portSpec.HostIP = sp.EndpointAnnotation.TargetHost;