1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
80
EndpointAnnotation
= sba;
20 references to EndpointAnnotation
Aspire.Hosting (20)
Dcp\DcpExecutor.cs (20)
1022
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
1029
if (!sp.
EndpointAnnotation
.IsProxied && svc.AllocatedPort is null)
1031
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
1034
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
1036
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
1037
sp.
EndpointAnnotation
,
1051
var port = sp.
EndpointAnnotation
.TargetPort!;
1054
sp.
EndpointAnnotation
,
1061
sp.
EndpointAnnotation
.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(allocatedEndpoint.NetworkID, allocatedEndpoint);
1069
var port = sp.
EndpointAnnotation
.TargetPort!;
1071
sp.
EndpointAnnotation
,
1078
sp.
EndpointAnnotation
.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(KnownNetworkIdentifiers.DefaultAspireContainerNetwork, allocatedEndpoint);
1117
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
1127
var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.AllocatedPort! : serverSvc.
EndpointAnnotation
.AllocatedEndpoint!.Port;
1320
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
2368
var ea = sp.
EndpointAnnotation
;
2888
var ea = sp.
EndpointAnnotation
;
2900
switch (sp.
EndpointAnnotation
.Protocol)
2910
if (sp.
EndpointAnnotation
.TargetHost != KnownHostNames.Localhost)
2912
portSpec.HostIP = sp.
EndpointAnnotation
.TargetHost;