11 writes to UriScheme
Aspire.Hosting (3)
Aspire.Hosting.Containers.Tests (1)
Aspire.Hosting.Dapr.Tests (2)
Aspire.Hosting.Tests (5)
69 references to UriScheme
Aspire.Hosting (14)
Aspire.Hosting.Azure.AppContainers (12)
AzureContainerAppsInfrastructure.cs (12)
261var unsupportedEndpoints = endpoints.Where(e => e.UriScheme is not ("tcp" or "http" or "https")).ToArray();
288int? targetPort = (resource, endpoint.UriScheme, endpoint.TargetPort, endpoint.Port) switch
306if (resource is ProjectResource && IsHttpScheme(endpoint.UriScheme))
308httpSchemesEncountered.Add(endpoint.UriScheme);
311int? exposedPort = (endpoint.UriScheme, endpoint.Port, targetPort) switch
351IsHttpOnly = g.All(e => e.UriScheme is "http" or "https"),
353UniqueSchemes = g.Select(e => e.UriScheme).Distinct().ToArray(),
414if (e.UriScheme is "http" && e.Port is not null and not 80)
419if (e.UriScheme is "https" && e.Port is not null and not 443)
425var port = e.UriScheme is "http" ? 80 : 443;
427_endpointMapping[e.Name] = new(e.UriScheme, resource.Name, port, targetPort, true, httpIngress.External);
447_endpointMapping[e.Name] = new(e.UriScheme, resource.Name, e.Port ?? g.Port.Value, g.Port.Value, false, g.External);
Aspire.Hosting.Elasticsearch.Tests (4)
Aspire.Hosting.Garnet.Tests (2)
Aspire.Hosting.Kafka.Tests (2)
Aspire.Hosting.Keycloak.Tests (1)
Aspire.Hosting.Milvus.Tests (1)
Aspire.Hosting.MongoDB.Tests (2)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.Nats.Tests (2)
Aspire.Hosting.Oracle.Tests (3)
Aspire.Hosting.PostgreSQL.Tests (3)
Aspire.Hosting.Qdrant.Tests (5)
Aspire.Hosting.RabbitMQ.Tests (2)
Aspire.Hosting.Redis.Tests (2)
Aspire.Hosting.SqlServer.Tests (1)
Aspire.Hosting.Tests (9)
Aspire.Hosting.Valkey.Tests (2)