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)
921
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
928
if (!sp.
EndpointAnnotation
.IsProxied && svc.AllocatedPort is null)
930
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
933
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
935
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
936
sp.
EndpointAnnotation
,
979
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
989
var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.AllocatedPort! : serverSvc.
EndpointAnnotation
.AllocatedEndpoint!.Port;
1161
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
1928
var ea = sp.
EndpointAnnotation
;
2865
var ea = sp.
EndpointAnnotation
;
2877
switch (sp.
EndpointAnnotation
.Protocol)
2887
if (sp.
EndpointAnnotation
.TargetHost != KnownHostNames.Localhost)
2889
portSpec.HostIP = sp.
EndpointAnnotation
.TargetHost;