20 references to Scheme
Aspire.Hosting (5)
ApplicationModel\EndpointReference.cs (2)
98
EndpointProperty.
Scheme
=> Binding("scheme"),
298
EndpointProperty.
Scheme
=> new(Endpoint.Scheme),
Dashboard\DashboardEventHandlers.cs (2)
613
ReferenceExpression.Create($"{e.Property(EndpointProperty.
Scheme
)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
659
aspnetCoreUrls.Append($"{e.Property(EndpointProperty.
Scheme
)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
ProjectResourceBuilderExtensions.cs (1)
920
aspnetCoreUrls.Append($"{e.Property(EndpointProperty.
Scheme
)}://{e.EndpointAnnotation.TargetHost}:{e.Property(EndpointProperty.TargetPort)}");
Aspire.Hosting.Azure.AppContainers (1)
BaseContainerAppContext.cs (1)
210
EndpointProperty.
Scheme
=> scheme,
Aspire.Hosting.Azure.AppService (1)
AzureAppServiceWebsiteContext.cs (1)
418
EndpointProperty.
Scheme
=> mapping.Scheme,
Aspire.Hosting.Azure.Storage (1)
AzureStorageEmulatorConnectionString.cs (1)
35
builder.Append($"{key}={endpoint.Property(EndpointProperty.
Scheme
)}://{endpoint.Property(EndpointProperty.IPV4Host)}:{endpoint.Property(EndpointProperty.Port)}/devstoreaccount1;");
Aspire.Hosting.Azure.Tests (3)
AzureContainerAppsTests.cs (2)
316
context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.
Scheme
);
393
context.EnvironmentVariables["SCHEME"] = httpEp.Property(EndpointProperty.
Scheme
);
src\Aspire.Hosting.Azure.Storage\AzureStorageEmulatorConnectionString.cs (1)
35
builder.Append($"{key}={endpoint.Property(EndpointProperty.
Scheme
)}://{endpoint.Property(EndpointProperty.IPV4Host)}:{endpoint.Property(EndpointProperty.Port)}/devstoreaccount1;");
Aspire.Hosting.Docker (1)
DockerComposeServiceResourceExtensions.cs (1)
97
EndpointProperty.
Scheme
=> mapping.Scheme,
Aspire.Hosting.Kubernetes (1)
KubernetesResource.cs (1)
451
EndpointProperty.
Scheme
=> scheme,
Aspire.Hosting.Tests (5)
EndpointReferenceTests.cs (1)
108
var schemeExpr = endpointRef.Property(EndpointProperty.
Scheme
);
ExpressionResolverTests.cs (4)
294
{ "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)}/;") },
301
{ "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)
80
.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)}");