19 references to Endpoint
Aspire.Hosting (8)
ApplicationModel\EndpointReference.cs (8)
308
Endpoint
.GetExpression(Property);
332
var networkContext =
Endpoint
.ContextNetworkID ?? context.GetNetworkIdentifier();
336
EndpointProperty.Scheme => new(
Endpoint
.Scheme),
337
EndpointProperty.TlsEnabled =>
Endpoint
.TlsEnabled ? bool.TrueString : bool.FalseString,
339
EndpointProperty.TargetPort when
Endpoint
.TargetPort is int port => new(port.ToString(CultureInfo.InvariantCulture)),
345
var endpointSnapshots =
Endpoint
.EndpointAnnotation.AllAllocatedEndpoints;
356
_ => throw new InvalidOperationException($"The property '{Property}' is not supported for the endpoint '{
Endpoint
.EndpointName}'.")
370
IEnumerable<object> IValueWithReferences.References => [
Endpoint
];
Aspire.Hosting.Azure.AppContainers (3)
BaseContainerAppContext.cs (3)
277
var context = epExpr.
Endpoint
.Resource == resource
279
: _containerAppEnvironmentContext.GetContainerAppContext(epExpr.
Endpoint
.Resource);
281
var mapping = context._endpointMapping[epExpr.
Endpoint
.EndpointName];
Aspire.Hosting.Azure.AppService (3)
AzureAppServiceWebsiteContext.cs (3)
191
var context = environmentContext.GetAppServiceContext(epExpr.
Endpoint
.Resource);
192
var mapping = isSlot ? context._slotEndpointMapping[epExpr.
Endpoint
.EndpointName] : context._endpointMapping[epExpr.
Endpoint
.EndpointName];
Aspire.Hosting.Docker (2)
DockerComposeServiceResourceExtensions.cs (2)
50
var referencedResource = resource.Parent.ResourceMapping[epExpr.
Endpoint
.Resource];
52
var mapping = referencedResource.EndpointMappings[epExpr.
Endpoint
.EndpointName];
Aspire.Hosting.Kubernetes (3)
KubernetesResource.cs (3)
421
var referencedResource = epExpr.
Endpoint
.Resource == this
423
: await context.CreateKubernetesResourceAsync(epExpr.
Endpoint
.Resource, executionContext, default).ConfigureAwait(false);
425
var mapping = referencedResource.EndpointMappings[epExpr.
Endpoint
.EndpointName];