1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
80EndpointAnnotation = sba;
14 references to EndpointAnnotation
Aspire.Hosting (14)
Dcp\DcpExecutor.cs (14)
921if (!svc.HasCompleteAddress && sp.EndpointAnnotation.IsProxied) 928if (!sp.EndpointAnnotation.IsProxied && svc.AllocatedPort is null) 930throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.EndpointAnnotation.Name}' since it isn't using a proxy."); 933var (targetHost, bindingMode) = NormalizeTargetHost(sp.EndpointAnnotation.TargetHost); 935sp.EndpointAnnotation.AllocatedEndpoint = new AllocatedEndpoint( 936sp.EndpointAnnotation, 979StringComparers.EndpointAnnotationName.Equals(swr.EndpointAnnotation.Name, endpoint.Name) 989var port = _options.Value.EnableAspireContainerTunnel ? (int)ts.Service!.AllocatedPort! : serverSvc.EndpointAnnotation.AllocatedEndpoint!.Port; 1161StringComparers.EndpointAnnotationName.Equals(swr.EndpointAnnotation.Name, endpoint.Name) 1928var ea = sp.EndpointAnnotation; 2865var ea = sp.EndpointAnnotation; 2877switch (sp.EndpointAnnotation.Protocol) 2887if (sp.EndpointAnnotation.TargetHost != KnownHostNames.Localhost) 2889portSpec.HostIP = sp.EndpointAnnotation.TargetHost;