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