1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
80
EndpointAnnotation
= sba;
14 references to EndpointAnnotation
Aspire.Hosting (14)
Dcp\DcpExecutor.cs (14)
959
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
966
if (!sp.
EndpointAnnotation
.IsProxied && svc.AllocatedPort is null)
968
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
971
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
973
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
974
sp.
EndpointAnnotation
,
1017
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
1027
var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.AllocatedPort! : serverSvc.
EndpointAnnotation
.AllocatedEndpoint!.Port;
1199
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
2207
var ea = sp.
EndpointAnnotation
;
2727
var ea = sp.
EndpointAnnotation
;
2739
switch (sp.
EndpointAnnotation
.Protocol)
2749
if (sp.
EndpointAnnotation
.TargetHost != KnownHostNames.Localhost)
2751
portSpec.HostIP = sp.
EndpointAnnotation
.TargetHost;