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