6 references to EndpointAnnotationUriScheme
Aspire.Hosting (6)
ApplicationModel\EndpointAnnotation.cs (3)
172get => _transport ?? (string.Equals(UriScheme, "http", StringComparisons.EndpointAnnotationUriScheme) || string.Equals(UriScheme, "https", StringComparisons.EndpointAnnotationUriScheme) ? "http" : Protocol.ToString().ToLowerInvariant()); 200get => _tlsEnabled ?? string.Equals(UriScheme, "https", StringComparisons.EndpointAnnotationUriScheme);
ApplicationModel\EndpointReference.cs (2)
56public bool IsHttp => string.Equals(Scheme, "http", StringComparisons.EndpointAnnotationUriScheme); 61public bool IsHttps => string.Equals(Scheme, "https", StringComparisons.EndpointAnnotationUriScheme);
ResourceBuilderExtensions.cs (1)
2950matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, scheme, StringComparisons.EndpointAnnotationUriScheme));