1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
80
EndpointAnnotation
= sba;
17 references to EndpointAnnotation
Aspire.Hosting (17)
Dcp\DcpExecutor.cs (17)
958
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
965
if (!sp.
EndpointAnnotation
.IsProxied && svc.AllocatedPort is null)
967
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
970
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
972
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
973
sp.
EndpointAnnotation
,
987
var port = sp.
EndpointAnnotation
.TargetPort!;
990
sp.
EndpointAnnotation
,
997
sp.
EndpointAnnotation
.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(allocatedEndpoint.NetworkID, allocatedEndpoint);
1037
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
1047
var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.AllocatedPort! : serverSvc.
EndpointAnnotation
.AllocatedEndpoint!.Port;
1229
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
2276
var ea = sp.
EndpointAnnotation
;
2796
var ea = sp.
EndpointAnnotation
;
2808
switch (sp.
EndpointAnnotation
.Protocol)
2818
if (sp.
EndpointAnnotation
.TargetHost != KnownHostNames.Localhost)
2820
portSpec.HostIP = sp.
EndpointAnnotation
.TargetHost;