1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
98
EndpointAnnotation
= sba;
16 references to EndpointAnnotation
Aspire.Hosting (16)
Dcp\ContainerCreator.cs (2)
443
StringComparers.EndpointAnnotationName.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name)
1025
var ea = sp.
EndpointAnnotation
;
Dcp\DcpModelUtilities.cs (14)
62
var ea = sp.
EndpointAnnotation
;
167
if (sp.
EndpointAnnotation
.AllocatedEndpoint is not null)
172
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
184
if (!sp.
EndpointAnnotation
.IsProxied && allocatedPort is null)
191
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
204
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
206
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
207
sp.
EndpointAnnotation
,
233
var port = sp.
EndpointAnnotation
.TargetPort!;
236
sp.
EndpointAnnotation
,
243
sp.
EndpointAnnotation
.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(allocatedEndpoint.NetworkID, allocatedEndpoint);
257
sp.
EndpointAnnotation
,
264
sp.
EndpointAnnotation
.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(KnownNetworkIdentifiers.DefaultAspireContainerNetwork, allocatedEndpoint);
311
string.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name, StringComparisons.EndpointAnnotationName)