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)
835
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
841
if (!sp.
EndpointAnnotation
.IsProxied && svc.AllocatedPort is null)
843
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
846
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
848
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
849
sp.
EndpointAnnotation
,
1585
var ea = sp.
EndpointAnnotation
;
1997
var ea = sp.
EndpointAnnotation
;
2009
switch (sp.
EndpointAnnotation
.Protocol)
2019
if (sp.
EndpointAnnotation
.TargetHost != "localhost")
2021
portSpec.HostIP = sp.
EndpointAnnotation
.TargetHost;