12 references to Scheme
Aspire.Hosting (10)
ApplicationModel\EndpointReference.cs (1)
179
EndpointProperty.Scheme => new(Endpoint.
Scheme
),
ApplicationModel\ExpressionResolver.cs (1)
71
endpointReference.
Scheme
,
ResourceBuilderExtensions.cs (8)
1305
if (endpoint.
Scheme
!= "http" && endpoint.
Scheme
!= "https")
1307
throw new DistributedApplicationException($"Could not create HTTP health check for resource '{builder.Resource.Name}' as the endpoint with name '{endpoint.EndpointName}' and scheme '{endpoint.
Scheme
}' is not an HTTP endpoint.");
1657
if (endpoint.
Scheme
!= "http" && endpoint.
Scheme
!= "https")
1659
throw new DistributedApplicationException($"Could not create HTTP command for resource '{builder.Resource.Name}' as the endpoint with name '{endpoint.EndpointName}' and scheme '{endpoint.
Scheme
}' is not an HTTP endpoint.");
1765
if (!s_httpSchemes.Contains(matchingEndpoint.
Scheme
, StringComparers.EndpointAnnotationUriScheme))
1767
throw new DistributedApplicationException($"Could not create {errorDisplayNoun} 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)
133
.Where(kvp => kvp.Value is EndpointReference epRef && epRef.
Scheme
== "https" && kvp.Key.StartsWith("services__"))
Aspire.Hosting.Milvus (1)
MilvusBuilderExtensions.cs (1)
218
context.EnvironmentVariables.Add("MILVUS_URL", $"{resource.PrimaryEndpoint.
Scheme
}://{resource.Name}:{resource.PrimaryEndpoint.TargetPort}");