12 writes to TlsEnabled
Aspire.Hosting (1)
ApplicationModel\EndpointUpdateContext.cs (1)
108set => _endpointAnnotation.TlsEnabled = value;
Aspire.Hosting.Azure.Tests (1)
AzureContainerAppsTests.cs (1)
3073redis.WithEndpoint("tcp", e => e.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)
116var cache = builder.AddRedis("cache").WithEndpoint("tcp", e => e.TlsEnabled = true);
Aspire.Hosting.Redis (1)
RedisBuilderExtensions.cs (1)
201e.TlsEnabled = true;
Aspire.Hosting.Redis.Tests (1)
RedisReplCommandTests.cs (1)
42.WithEndpoint("tcp", endpoint => endpoint.TlsEnabled = tlsEnabled);
Aspire.Hosting.Tests (2)
ConditionalReferenceExpressionTests.cs (2)
142TlsEnabled = true 178annotation.TlsEnabled = true;
19 references to TlsEnabled
Aspire.Hosting (6)
ApplicationModel\EndpointReference.cs (3)
86/// Once the annotation exists, this property delegates to <see cref="EndpointAnnotation.TlsEnabled"/>. 88public bool TlsEnabled => Exists && EndpointAnnotation.TlsEnabled; 167/// <see cref="EndpointAnnotation.TlsEnabled"/> is <see langword="true"/> on this endpoint, or to
ApplicationModel\EndpointUpdateContext.cs (1)
107get => _endpointAnnotation.TlsEnabled;
ApplicationModel\IComputeEnvironmentResource.cs (1)
63EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"),
ProjectResourceBuilderExtensions.cs (1)
595if (!ctx.Resource.Annotations.OfType<EndpointAnnotation>().Any(e => e.TlsEnabled))
Aspire.Hosting.Azure.AppContainers (3)
AzureContainerAppEnvironmentResource.cs (1)
400var tlsEnabled = string.Equals(scheme, "https", StringComparison.OrdinalIgnoreCase) || endpoint.TlsEnabled;
ContainerAppContext.cs (2)
242_containerAppEnvironmentContext.Environment.IsExpress || endpoint.TlsEnabled); 274_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)
527var 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)
102/// This property proxies through to <see cref="EndpointAnnotation.TlsEnabled"/> on the <see cref="PrimaryEndpoint"/>,
Aspire.Hosting.Radius (5)
Publishing\RadiusInfrastructureBuilder.cs (3)
3397parts.Add(EnvPart.FromLiteral(endpointReference.EndpointAnnotation.TlsEnabled ? bool.TrueString : bool.FalseString)); 3439/// <see cref="EndpointAnnotation.TlsEnabled"/> set, which describes how the container runs 3464if (!endpointReference.EndpointAnnotation.TlsEnabled ||
RadiusEnvironmentResource.cs (2)
217EndpointProperty.TlsEnabled => ReferenceExpression.Create($"{(endpoint.TlsEnabled ? bool.TrueString : bool.FalseString)}"), 240if (!endpointReference.EndpointAnnotation.TlsEnabled ||
Aspire.Hosting.Redis (1)
RedisResource.cs (1)
70/// This property proxies through to <see cref="EndpointAnnotation.TlsEnabled"/> on the
Aspire.Hosting.Redis.Tests (1)
AddRedisTests.cs (1)
954Assert.True(endpoint.TlsEnabled);