44 references to TlsEnabled
Aspire.Hosting (5)
ApplicationModel\EndpointReference.cs (3)
180EndpointProperty.TlsEnabled => Binding("tlsEnabled"), 219Property(EndpointProperty.TlsEnabled), 403EndpointProperty.TlsEnabled => Endpoint.TlsEnabled ? bool.TrueString : bool.FalseString,
ApplicationModel\IComputeEnvironmentResource.cs (1)
70EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"),
Publishing\ManifestPublishingContext.cs (1)
877else if (source is EndpointReferenceExpression { Property: EndpointProperty.TlsEnabled } endpointProperty)
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppEnvironmentResource.cs (1)
460EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(tlsEnabled ? bool.TrueString : bool.FalseString)}"),
BaseContainerAppContext.cs (1)
217EndpointProperty.TlsEnabled => tlsEnabled ? bool.TrueString : bool.FalseString,
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentResource.cs (1)
588EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(tlsEnabled ? bool.TrueString : bool.FalseString)}"),
Aspire.Hosting.Azure.EntraId (1)
EntraIdResourceExtensions.cs (1)
1555var tlsEnabled = computeEnvironment.GetEndpointPropertyExpression(endpoint.Property(EndpointProperty.TlsEnabled));
Aspire.Hosting.Azure.EntraId.Tests (1)
EntraIdProvisioningTests.cs (1)
1565if (endpointReferenceExpression.Property is EndpointProperty.TlsEnabled)
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxEndpointPropertyValueProvider.cs (2)
89EndpointProperty.TlsEnabled => bool.TrueString, 110EndpointProperty.TlsEnabled => string.Equals(uri.Scheme, Uri.UriSchemeHttps, StringComparison.OrdinalIgnoreCase) ? bool.TrueString : bool.FalseString,
Aspire.Hosting.Azure.Tests (6)
AzureAppServiceTests.cs (1)
1205[InlineData(EndpointProperty.TlsEnabled, "True")]
AzureContainerAppExpressEndpointTests.cs (4)
45EndpointProperty.Scheme, EndpointProperty.TlsEnabled 111[EndpointProperty.TlsEnabled] = "True" 129[InlineData(EndpointProperty.TlsEnabled, "True")] 150[InlineData(EndpointProperty.TlsEnabled)]
AzureContainerAppsTests.cs (1)
2892[InlineData(EndpointProperty.TlsEnabled, "True")]
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
53if (epExpr.Property == EndpointProperty.TlsEnabled)
Aspire.Hosting.Docker.Tests (2)
DockerComposePublisherTests.cs (2)
1502.WithEnvironment("CACHE_TLS", cache.GetEndpoint("tls").Property(EndpointProperty.TlsEnabled)) 1503.WithEnvironment("CACHE_PLAIN_TLS", cache.GetEndpoint("tcp").Property(EndpointProperty.TlsEnabled));
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
599if (epExpr.Property == EndpointProperty.TlsEnabled)
Aspire.Hosting.Kubernetes.Tests (2)
KubernetesPublisherTests.cs (2)
2109.WithEnvironment("CACHE_TLS", cache.GetEndpoint("tls").Property(EndpointProperty.TlsEnabled)) 2110.WithEnvironment("CACHE_PLAIN_TLS", cache.GetEndpoint("tcp").Property(EndpointProperty.TlsEnabled));
Aspire.Hosting.Radius (4)
Publishing\RadiusInfrastructureBuilder.cs (2)
3400case EndpointProperty.TlsEnabled: 3469property is not (EndpointProperty.Scheme or EndpointProperty.TlsEnabled or EndpointProperty.Url))
RadiusEnvironmentResource.cs (2)
220EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"), 244property is not (EndpointProperty.Scheme or EndpointProperty.TlsEnabled or EndpointProperty.Url))
Aspire.Hosting.Radius.Tests (3)
Publishing\BackingResourceContractTests.cs (2)
198/// <see cref="EndpointProperty.Scheme"/> and <see cref="EndpointProperty.TlsEnabled"/> are read 210[InlineData(EndpointProperty.TlsEnabled, "False")]
RadiusEnvironmentResourceTests.cs (1)
127[InlineData(EndpointProperty.TlsEnabled)]
Aspire.Hosting.Tests (13)
ComputeEnvironmentValidationTests.cs (1)
92[InlineData(EndpointProperty.TlsEnabled, "False")]
ConditionalReferenceExpressionTests.cs (5)
86var condition = endpointRef.Property(EndpointProperty.TlsEnabled); 250var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled); 267var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled); 281var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled); 294var tlsExpr = endpointRef.Property(EndpointProperty.TlsEnabled);
ManifestExpressionTests.cs (6)
166var tls = endpoint.Property(EndpointProperty.TlsEnabled); 306backend.WithEnvironment("TLS", backend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled)); 409var selected = ReferenceExpression.CreateConditional(endpoint.Property(EndpointProperty.TlsEnabled), bool.FalseString, 475frontend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled), 500frontend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled), bool.TrueString, 545var conditional = ReferenceExpression.CreateConditional(frontend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled),
Schema\SchemaTests.cs (1)
55var tls = frontend.GetEndpoint("http").Property(EndpointProperty.TlsEnabled);