1 write to EndpointAnnotation
Aspire.Hosting (1)
Dcp\AppResource.cs (1)
42EndpointAnnotation = sba;
5 references to EndpointAnnotation
Aspire.Hosting (5)
Dcp\DcpExecutor.cs (5)
723if (!svc.HasCompleteAddress && sp.EndpointAnnotation.IsProxied) 729if (!sp.EndpointAnnotation.IsProxied && svc.AllocatedPort is null) 731throw new InvalidOperationException($"Service '{svc.Metadata.Name}' needs to specify a port for endpoint '{sp.EndpointAnnotation.Name}' since it isn't using a proxy."); 734sp.EndpointAnnotation.AllocatedEndpoint = new AllocatedEndpoint( 735sp.EndpointAnnotation,