8 references to EndpointAnnotationUriScheme
Aspire.Hosting (8)
ApplicationModel\EndpointAnnotation.cs (3)
249get => _transport ?? (string.Equals(UriScheme, "http", StringComparisons.EndpointAnnotationUriScheme) || string.Equals(UriScheme, "https", StringComparisons.EndpointAnnotationUriScheme) ? "http" : Protocol.ToString().ToLowerInvariant()); 324get => _tlsEnabled ?? string.Equals(UriScheme, "https", StringComparisons.EndpointAnnotationUriScheme);
ApplicationModel\EndpointReference.cs (4)
74public bool IsHttp => string.Equals(Scheme, "http", StringComparisons.EndpointAnnotationUriScheme); 79public bool IsHttps => string.Equals(Scheme, "https", StringComparisons.EndpointAnnotationUriScheme); 96public bool IsHttpSchemeNamedEndpoint => string.Equals(EndpointName, "http", StringComparisons.EndpointAnnotationUriScheme) || 97string.Equals(EndpointName, "https", StringComparisons.EndpointAnnotationUriScheme);
ResourceBuilderExtensions.cs (1)
4403matchingEndpoint = endpoints.FirstOrDefault(e => string.Equals(e.EndpointName, scheme, StringComparisons.EndpointAnnotationUriScheme));