35 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)
817ReferenceExpression.Create($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}"); 843aspnetCoreUrls.Append($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
ProjectResourceBuilderExtensions.cs (1)
1116aspnetCoreUrls.Append($"{e.Property(EndpointProperty.Scheme)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
Aspire.Hosting.Azure.AppContainers (2)
AzureContainerAppEnvironmentResource.cs (1)
384EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
BaseContainerAppContext.cs (1)
210EndpointProperty.Scheme => scheme,
Aspire.Hosting.Azure.AppService (2)
AzureAppServiceEnvironmentResource.cs (1)
536EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
AzureAppServiceWebsiteContext.cs (1)
871EndpointProperty.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.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 (5)
AzureAppServiceTests.cs (1)
1134[InlineData(EndpointProperty.Scheme, "https")]
AzureContainerAppsTests.cs (3)
373context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.Scheme); 450context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.Scheme); 2736[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)
767EndpointProperty.Scheme => scheme,
Aspire.Hosting.Radius (1)
RadiusEnvironmentResource.cs (1)
176EndpointProperty.Scheme => ReferenceExpression.Create($"{scheme}"),
Aspire.Hosting.Radius.Tests (1)
RadiusEnvironmentResourceTests.cs (1)
80[InlineData(EndpointProperty.Scheme, "http")]
Aspire.Hosting.Redis (1)
RedisResource.cs (1)
148builder.Append($"{PrimaryEndpoint.Property(EndpointProperty.Scheme)}");
Aspire.Hosting.Tests (10)
ComputeEnvironmentValidationTests.cs (1)
69[InlineData(EndpointProperty.Scheme, "http")]
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)}");