50 references to Scheme
Aspire.Hosting (6)
ApplicationModel\EndpointReference.cs (2)
144EndpointProperty.Scheme => Binding("scheme"), 365EndpointProperty.Scheme => new(Endpoint.Scheme),
ApplicationModel\IComputeEnvironmentResource.cs (1)
61EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
Dashboard\DashboardEventHandlers.cs (2)
662ReferenceExpression.Create($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}"); 688aspnetCoreUrls.Append($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
ProjectResourceBuilderExtensions.cs (1)
1157aspnetCoreUrls.Append($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppEnvironmentResource.cs (1)
411EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
BaseContainerAppContext.cs (1)
210EndpointProperty.Scheme => scheme,
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentResource.cs (1)
538EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
AzureAppServiceWebsiteContext.cs (1)
905EndpointProperty.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)
88EndpointProperty.Scheme => Uri.UriSchemeHttps, 109EndpointProperty.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)
1182[InlineData(EndpointProperty.Scheme, "https")]
AzureContainerAppExpressEndpointTests.cs (4)
43EndpointProperty.Scheme, EndpointProperty.TlsEnabled 106[EndpointProperty.Scheme] = "https", 124[InlineData(EndpointProperty.Scheme, "https")] 145[InlineData(EndpointProperty.Scheme)]
AzureContainerAppsTests.cs (3)
401context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.Scheme); 505context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.Scheme); 2827[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)
110EndpointProperty.Scheme => mapping.Scheme,
Aspire.Hosting.Foundry (1)
Project\ProjectResource.cs (1)
237EndpointProperty.Scheme => ReferenceExpression.Create($"https"),
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
792EndpointProperty.Scheme => scheme,
Aspire.Hosting.Radius (4)
Publishing\RadiusInfrastructureBuilder.cs (2)
3393case EndpointProperty.Scheme: 3465property is not (EndpointProperty.Scheme or EndpointProperty.TlsEnabled or EndpointProperty.Url))
RadiusEnvironmentResource.cs (2)
215EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"), 241property 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)
80[InlineData(EndpointProperty.Scheme, "http")] 109[InlineData(EndpointProperty.Scheme)] 149.GetEndpointPropertyExpression(endpoint.Property(EndpointProperty.Scheme)); 171.GetEndpointPropertyExpression(endpoint.Property(EndpointProperty.Scheme));
Aspire.Hosting.Redis (1)
RedisResource.cs (1)
148builder.Append($"{PrimaryEndpoint.Property(EndpointProperty.Scheme)}");
Aspire.Hosting.Tests (11)
ComputeEnvironmentValidationTests.cs (1)
69[InlineData(EndpointProperty.Scheme, "http")]
Dcp\DcpExecutorTests.cs (1)
10208$"{containerEndpoint.Property(EndpointProperty.Scheme)}://{containerEndpoint.Property(EndpointProperty.Host)}:{containerEndpoint.Property(EndpointProperty.Port)}"))
EndpointReferenceTests.cs (5)
110var schemeExpr = endpointRef.Property(EndpointProperty.Scheme); 322[InlineData(EndpointProperty.Scheme, ResourceKind.Host, ResourceKind.Host, "blah")] 323[InlineData(EndpointProperty.Scheme, ResourceKind.Host, ResourceKind.Container, "blah")] 324[InlineData(EndpointProperty.Scheme, ResourceKind.Container, ResourceKind.Host, "blah")] 325[InlineData(EndpointProperty.Scheme, ResourceKind.Container, ResourceKind.Container, "blah")]
ExpressionResolverTests.cs (4)
351{ "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)}/;") }, 358{ "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)
74.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)}");