15 writes to TlsEnabled
Aspire.Hosting (1)
ApplicationModel\EndpointUpdateContext.cs (1)
108set => _endpointAnnotation.TlsEnabled = value;
Aspire.Hosting.Azure.Tests (1)
AzureContainerAppsTests.cs (1)
3149redis.WithEndpoint("tcp", e => e.TlsEnabled = true);
Aspire.Hosting.Docker.Tests (1)
DockerComposePublisherTests.cs (1)
1525.WithEndpoint("tls", endpoint => endpoint.TlsEnabled = true);
Aspire.Hosting.Kubernetes.Tests (1)
KubernetesPublisherTests.cs (1)
2522.WithEndpoint("tls", endpoint => endpoint.TlsEnabled = true);
Aspire.Hosting.MongoDB (1)
MongoDBBuilderExtensions.cs (1)
162.WithEndpoint(MongoDBServerResource.PrimaryEndpointName, endpoint => endpoint.TlsEnabled = true)
Aspire.Hosting.MongoDB.Tests (2)
MongoDBReplCommandTests.cs (2)
47.WithEndpoint("tcp", endpoint => endpoint.TlsEnabled = tlsEnabled); 112.WithEndpoint("tcp", endpoint => endpoint.TlsEnabled = tlsEnabled);
Aspire.Hosting.Radius.Tests (3)
Publishing\BackingResourceValueResolutionTests.cs (2)
964var cache = b.AddRedis("cache").WithEndpoint("tcp", e => e.TlsEnabled = true); 983var cache = b.AddRedis("cache").WithEndpoint("tcp", e => e.TlsEnabled = true);
RadiusEnvironmentResourceTests.cs (1)
131var cache = builder.AddRedis("cache").WithEndpoint("tcp", e => e.TlsEnabled = true);
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
206e.TlsEnabled = true;
Aspire.Hosting.Redis.Tests (1)
RedisReplCommandTests.cs (1)
42.WithEndpoint("tcp", endpoint => endpoint.TlsEnabled = tlsEnabled);
Aspire.Hosting.Tests (3)
ConditionalReferenceExpressionTests.cs (2)
262TlsEnabled = true 298annotation.TlsEnabled = true;
ManifestExpressionTests.cs (1)
165endpoint.EndpointAnnotation.TlsEnabled = tlsEnabled;
21 references to TlsEnabled
Aspire.Hosting (6)
ApplicationModel\EndpointReference.cs (3)
119/// Once the annotation exists, this property delegates to <see cref="EndpointAnnotation.TlsEnabled"/>. 121public bool TlsEnabled => Exists && EndpointAnnotation.TlsEnabled; 202/// <see cref="EndpointAnnotation.TlsEnabled"/> is <see langword="true"/> on this endpoint, or to
ApplicationModel\EndpointUpdateContext.cs (1)
107get => _endpointAnnotation.TlsEnabled;
ApplicationModel\IComputeEnvironmentResource.cs (1)
74EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"),
ProjectResourceBuilderExtensions.cs (1)
643if (!ctx.Resource.Annotations.OfType<EndpointAnnotation>().Any(e => e.TlsEnabled))
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
442var tlsEnabled = string.Equals(scheme, "https", StringComparison.OrdinalIgnoreCase) || endpoint.TlsEnabled;
ContainerAppContext.cs (2)
239_containerAppEnvironmentContext.Environment.IsExpress || endpoint.TlsEnabled); 271_endpointMapping[endpoint.Name] = new(endpoint.UriScheme, NormalizedContainerAppName, resolved.ExposedPort.Value ?? g.Port.Value, g.Port.Value, false, g.External, endpoint.TlsEnabled);
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceEnvironmentResource.cs (1)
570var tlsEnabled = string.Equals(scheme, "https", StringComparison.OrdinalIgnoreCase) || endpoint.TlsEnabled;
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
87Assert.True(primaryEndpoint.TlsEnabled);
Aspire.Hosting.MongoDB (1)
MongoDBServerResource.cs (1)
105/// This property proxies through to <see cref="EndpointAnnotation.TlsEnabled"/> on the <see cref="PrimaryEndpoint"/>,
Aspire.Hosting.Radius (5)
Publishing\RadiusInfrastructureBuilder.cs (3)
3399parts.Add(EnvPart.FromLiteral(endpointReference.EndpointAnnotation.TlsEnabled ? bool.TrueString : bool.FalseString)); 3441/// <see cref="EndpointAnnotation.TlsEnabled"/> set, which describes how the container runs 3466if (!endpointReference.EndpointAnnotation.TlsEnabled ||
RadiusEnvironmentResource.cs (2)
221EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"), 244if (!endpointReference.EndpointAnnotation.TlsEnabled ||
Aspire.Hosting.Redis (1)
RedisResource.cs (1)
71/// This property proxies through to <see cref="EndpointAnnotation.TlsEnabled"/> on the
Aspire.Hosting.Redis.Tests (3)
AddRedisTests.cs (3)
1015Assert.True(endpoint.TlsEnabled); 1046Assert.True(primaryEndpoint.TlsEnabled); 1050Assert.False(secondaryEndpoint.TlsEnabled);