1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
42EndpointAnnotation = sba;
11 references to EndpointAnnotation
Aspire.Hosting (11)
Dcp\DcpExecutor.cs (11)
805if (!svc.HasCompleteAddress && sp.EndpointAnnotation.IsProxied) 811if (!sp.EndpointAnnotation.IsProxied && svc.AllocatedPort is null) 813throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.EndpointAnnotation.Name}' since it isn't using a proxy."); 816var (targetHost, bindingMode) = NormalizeTargetHost(sp.EndpointAnnotation.TargetHost); 818sp.EndpointAnnotation.AllocatedEndpoint = new AllocatedEndpoint( 819sp.EndpointAnnotation, 1487var ea = sp.EndpointAnnotation; 1924var ea = sp.EndpointAnnotation; 1936switch (sp.EndpointAnnotation.Protocol) 1946if (sp.EndpointAnnotation.TargetHost != "localhost") 1948portSpec.HostIP = sp.EndpointAnnotation.TargetHost;