6 references to Scheme
Aspire.Hosting (4)
ApplicationModel\ExpressionResolver.cs (1)
71
endpointReference.
Scheme
,
ResourceBuilderExtensions.cs (3)
1267
if (endpoint.
Scheme
!= desiredScheme)
1717
if (!s_httpSchemes.Contains(matchingEndpoint.
Scheme
, StringComparers.EndpointAnnotationUriScheme))
1719
throw new DistributedApplicationException($"Could not create HTTP command for resource '{builder.Resource.Name}' as the endpoint with name '{matchingEndpoint.EndpointName}' and scheme '{matchingEndpoint.
Scheme
}' is not an HTTP endpoint.");
Aspire.Hosting.Docker (1)
DockerComposeEnvironmentContext.cs (1)
111
.Where(kvp => kvp.Value is EndpointReference epRef && epRef.
Scheme
== "https" && kvp.Key.StartsWith("services__"))
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
197
context.EnvironmentVariables.Add("MILVUS_URL", $"{resource.PrimaryEndpoint.
Scheme
}://{resource.Name}:{resource.PrimaryEndpoint.TargetPort}");