1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
98
EndpointAnnotation
= sba;
17 references to EndpointAnnotation
Aspire.Hosting (17)
Dcp\ContainerCreator.cs (1)
709
var ea = sp.
EndpointAnnotation
;
Dcp\ContainerNetworkEndpointProvisioner.cs (1)
190
StringComparers.EndpointAnnotationName.Equals(serviceWithResource.
EndpointAnnotation
.Name, endpoint.Name));
Dcp\DcpExecutor.cs (1)
776
var endpoint = serviceProducer.
EndpointAnnotation
;
Dcp\DcpModelUtilities.cs (14)
62
var ea = sp.
EndpointAnnotation
;
172
if (sp.
EndpointAnnotation
.AllocatedEndpoint is not null)
177
if (!svc.HasCompleteAddress && sp.
EndpointAnnotation
.IsProxied)
189
if (!sp.
EndpointAnnotation
.IsProxied && allocatedPort is null)
196
throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.
EndpointAnnotation
.Name}' since it isn't using a proxy.");
209
var (targetHost, bindingMode) = NormalizeTargetHost(sp.
EndpointAnnotation
.TargetHost);
211
sp.
EndpointAnnotation
.AllocatedEndpoint = new AllocatedEndpoint(
212
sp.
EndpointAnnotation
,
238
var port = sp.
EndpointAnnotation
.TargetPort!;
241
sp.
EndpointAnnotation
,
248
sp.
EndpointAnnotation
.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(allocatedEndpoint.NetworkID, allocatedEndpoint);
262
sp.
EndpointAnnotation
,
269
sp.
EndpointAnnotation
.AllAllocatedEndpoints.AddOrUpdateAllocatedEndpoint(KnownNetworkIdentifiers.DefaultAspireContainerNetwork, allocatedEndpoint);
316
string.Equals(swr.
EndpointAnnotation
.Name, endpoint.Name, StringComparisons.EndpointAnnotationName)