2 writes to EndpointName
Aspire.Hosting (2)
ApplicationModel\EndpointReference.cs (2)
124
EndpointName
= endpoint.Name;
139
EndpointName
= endpointName;
15 references to EndpointName
Aspire.Hosting (12)
ApplicationModel\EndpointReference.cs (6)
18
internal 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
}'.")
61
return $"{{{Resource.Name}.bindings.{
EndpointName
}.{prop}}}";
92
public 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)
19
static string EndpointUniqueName(EndpointReference endpointReference) => $"{endpointReference.Resource.Name}/{endpointReference.
EndpointName
}";
Dcp\ApplicationExecutor.cs (3)
790
urls.Add(new(Name: ep.
EndpointName
, Url: url, IsInternal: false));
797
urls.Add(new(Name: ep.
EndpointName
, Url: ep.Url, IsInternal: false));
804
urls.Add(new(Name: $"{ep.
EndpointName
} target port", Url: endpointString, IsInternal: true));
ResourceBuilderExtensions.cs (2)
312
var endpointName = endpoint.
EndpointName
;
424
ApplyEndpoints(builder, endpointReference.Resource, endpointReference.
EndpointName
);
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppsInfrastructure.cs (2)
629
var mapping = context._endpointMapping[ep.
EndpointName
];
674
var mapping = context._endpointMapping[epExpr.Endpoint.
EndpointName
];
Stress.AppHost (1)
ResourceBuilderExtensions.cs (1)
44
var endpoint = endpoints.FirstOrDefault(e => string.Equals(e.
EndpointName
, endpointName, StringComparison.OrdinalIgnoreCase))