2 writes to EndpointName
Aspire.Hosting (2)
ApplicationModel\EndpointReference.cs (2)
124EndpointName = endpoint.Name; 139EndpointName = endpointName;
15 references to EndpointName
Aspire.Hosting (12)
ApplicationModel\EndpointReference.cs (6)
18internal EndpointAnnotation EndpointAnnotation => GetEndpointAnnotation() ?? throw new InvalidOperationException($"The endpoint `{EndpointName}` is not defined for the resource `{Resource.Name}`."); 58_ => throw new InvalidOperationException($"The property '{property}' is not supported for the endpoint '{EndpointName}'.") 61return $"{{{Resource.Name}.bindings.{EndpointName}.{prop}}}"; 92public string ContainerHost => AllocatedEndpoint.ContainerHostAddress ?? throw new InvalidOperationException($"The endpoint \"{EndpointName}\" has no associated container host name."); 106?? throw new InvalidOperationException($"The endpoint `{EndpointName}` is not allocated for the resource `{Resource.Name}`."); 109_endpointAnnotation ??= Resource.Annotations.OfType<EndpointAnnotation>().SingleOrDefault(a => StringComparers.EndpointAnnotationName.Equals(a.Name, EndpointName));
ApplicationModel\ExpressionResolver.cs (1)
19static string EndpointUniqueName(EndpointReference endpointReference) => $"{endpointReference.Resource.Name}/{endpointReference.EndpointName}";
Dcp\ApplicationExecutor.cs (3)
790urls.Add(new(Name: ep.EndpointName, Url: url, IsInternal: false)); 797urls.Add(new(Name: ep.EndpointName, Url: ep.Url, IsInternal: false)); 804urls.Add(new(Name: $"{ep.EndpointName} target port", Url: endpointString, IsInternal: true));
ResourceBuilderExtensions.cs (2)
312var endpointName = endpoint.EndpointName; 424ApplyEndpoints(builder, endpointReference.Resource, endpointReference.EndpointName);
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppsInfrastructure.cs (2)
629var mapping = context._endpointMapping[ep.EndpointName]; 674var mapping = context._endpointMapping[epExpr.Endpoint.EndpointName];
Stress.AppHost (1)
ResourceBuilderExtensions.cs (1)
44var endpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, endpointName, StringComparison.OrdinalIgnoreCase))