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)
836
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
842
if (!sp.
EndpointAnnotation
.IsProxied && svc.AllocatedPort is null)
844
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
847
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
849
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
850
sp.
EndpointAnnotation
,
1617
var ea = sp.
EndpointAnnotation
;
2045
var ea = sp.
EndpointAnnotation
;
2057
switch (sp.
EndpointAnnotation
.Protocol)
2067
if (sp.
EndpointAnnotation
.TargetHost != "localhost")
2069
portSpec.HostIP = sp.
EndpointAnnotation
.TargetHost;