50 references to Scheme
Aspire.Hosting (6)
ApplicationModel\EndpointReference.cs (2)
177EndpointProperty.Scheme => Binding("scheme"), 402EndpointProperty.Scheme => new(Endpoint.Scheme),
ApplicationModel\IComputeEnvironmentResource.cs (1)
68EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
Dashboard\DashboardEventHandlers.cs (2)
688ReferenceExpression.Create($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}"); 714aspnetCoreUrls.Append($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
ProjectResourceBuilderExtensions.cs (1)
1216aspnetCoreUrls.Append($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppEnvironmentResource.cs (1)
458EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
BaseContainerAppContext.cs (1)
216EndpointProperty.Scheme => scheme,
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentResource.cs (1)
586EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
AzureAppServiceWebsiteContext.cs (1)
950EndpointProperty.Scheme => mapping.Scheme,
Aspire.Hosting.Azure.Functions (1)
DurableTask\DurableTaskSchedulerResource.cs (1)
36return ReferenceExpression.Create($"Endpoint={grpcEndpoint.Property(EndpointProperty.Scheme)}://{grpcEndpoint.Property(EndpointProperty.Host)}:{grpcEndpoint.Property(EndpointProperty.Port)};Authentication=None");
Aspire.Hosting.Azure.Sandboxes (2)
AzureSandboxEndpointPropertyValueProvider.cs (2)
87EndpointProperty.Scheme => Uri.UriSchemeHttps, 108EndpointProperty.Scheme => uri.Scheme,
Aspire.Hosting.Azure.Storage (1)
AzureStorageEmulatorConnectionString.cs (1)
35builder.Append($"{key}={endpoint.Property(EndpointProperty.Scheme)}://{endpoint.Property(EndpointProperty.IPV4Host)}:{endpoint.Property(EndpointProperty.Port)}/devstoreaccount1;");
Aspire.Hosting.Azure.Tests (9)
AzureAppServiceTests.cs (1)
1203[InlineData(EndpointProperty.Scheme, "https")]
AzureContainerAppExpressEndpointTests.cs (4)
45EndpointProperty.Scheme, EndpointProperty.TlsEnabled 110[EndpointProperty.Scheme] = "https", 128[InlineData(EndpointProperty.Scheme, "https")] 149[InlineData(EndpointProperty.Scheme)]
AzureContainerAppsTests.cs (3)
427context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.Scheme); 533context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.Scheme); 2890[InlineData(EndpointProperty.Scheme, "https")]
src\Aspire.Hosting.Azure.Storage\AzureStorageEmulatorConnectionString.cs (1)
35builder.Append($"{key}={endpoint.Property(EndpointProperty.Scheme)}://{endpoint.Property(EndpointProperty.IPV4Host)}:{endpoint.Property(EndpointProperty.Port)}/devstoreaccount1;");
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
144EndpointProperty.Scheme => mapping.Scheme,
Aspire.Hosting.Foundry (1)
Project\ProjectResource.cs (1)
237EndpointProperty.Scheme => ReferenceExpression.Create($"https"),
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
796EndpointProperty.Scheme => scheme,
Aspire.Hosting.Radius (4)
Publishing\RadiusInfrastructureBuilder.cs (2)
3397case EndpointProperty.Scheme: 3469property is not (EndpointProperty.Scheme or EndpointProperty.TlsEnabled or EndpointProperty.Url))
RadiusEnvironmentResource.cs (2)
218EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"), 244property is not (EndpointProperty.Scheme or EndpointProperty.TlsEnabled or EndpointProperty.Url))
Aspire.Hosting.Radius.Tests (6)
Publishing\BackingResourceContractTests.cs (2)
198/// <see cref="EndpointProperty.Scheme"/> and <see cref="EndpointProperty.TlsEnabled"/> are read 209[InlineData(EndpointProperty.Scheme, "redis")]
RadiusEnvironmentResourceTests.cs (4)
97[InlineData(EndpointProperty.Scheme, "http")] 126[InlineData(EndpointProperty.Scheme)] 166.GetEndpointPropertyExpression(endpoint.Property(EndpointProperty.Scheme)); 188.GetEndpointPropertyExpression(endpoint.Property(EndpointProperty.Scheme));
Aspire.Hosting.Redis (1)
RedisResource.cs (1)
151builder.Append($"{PrimaryEndpoint.Property(EndpointProperty.Scheme)}");
Aspire.Hosting.Tests (11)
ComputeEnvironmentValidationTests.cs (1)
90[InlineData(EndpointProperty.Scheme, "http")]
Dcp\DcpExecutorTests.cs (1)
10897$"{containerEndpoint.Property(EndpointProperty.Scheme)}://{containerEndpoint.Property(EndpointProperty.Host)}:{containerEndpoint.Property(EndpointProperty.Port)}"))
EndpointReferenceTests.cs (5)
146var schemeExpr = endpointRef.Property(EndpointProperty.Scheme); 358[InlineData(EndpointProperty.Scheme, ResourceKind.Host, ResourceKind.Host, "blah")] 359[InlineData(EndpointProperty.Scheme, ResourceKind.Host, ResourceKind.Container, "blah")] 360[InlineData(EndpointProperty.Scheme, ResourceKind.Container, ResourceKind.Host, "blah")] 361[InlineData(EndpointProperty.Scheme, ResourceKind.Container, ResourceKind.Container, "blah")]
ExpressionResolverTests.cs (4)
380{ "TwoFullEndpoints", ReferenceExpression.Create($"Test1={Endpoint1.Property(EndpointProperty.Scheme)}://{Endpoint1.Property(EndpointProperty.IPV4Host)}:{Endpoint1.Property(EndpointProperty.Port)}/;Test2={Endpoint2.Property(EndpointProperty.Scheme)}://{Endpoint2.Property(EndpointProperty.Host)}:{Endpoint2.Property(EndpointProperty.Port)}/;") }, 387{ "FullAndPartial", ReferenceExpression.Create($"Test1={Endpoint1.Property(EndpointProperty.Scheme)}://{Endpoint1.Property(EndpointProperty.IPV4Host)}:{Endpoint1.Property(EndpointProperty.Port)}/;Test2={Endpoint2.Property(EndpointProperty.Scheme)}://localhost:{Endpoint2.Property(EndpointProperty.Port)}/;") },
Aspire.Hosting.Yarp (2)
YarpResourceExtensions.cs (2)
73.WithEnvironment("ASPNETCORE_URLS", $"{resource.GetEndpoint("https").Property(EndpointProperty.Scheme)}://*:{resource.GetEndpoint("https").Property(EndpointProperty.TargetPort)};{resource.GetEndpoint("http").Property(EndpointProperty.Scheme)}://*:{resource.GetEndpoint("http").Property(EndpointProperty.TargetPort)}");