1 write to Protocol
Aspire.Hosting (1)
ApplicationModel\EndpointAnnotation.cs (1)
46Protocol = protocol;
39 references to Protocol
Aspire.Hosting (3)
ApplicationModel\EndpointAnnotation.cs (1)
118get => _transport ?? (UriScheme == "http" || UriScheme == "https" ? "http" : Protocol.ToString().ToLowerInvariant());
Dcp\ApplicationExecutor.cs (1)
1634switch (sp.EndpointAnnotation.Protocol)
Publishing\ManifestPublishingContext.cs (1)
410Writer.WriteString("protocol", endpoint.Protocol.ToString().ToLowerInvariant());
Aspire.Hosting.Elasticsearch.Tests (4)
AddElasticsearchTests.cs (4)
37Assert.Equal(ProtocolType.Tcp, primaryEndpoint.Protocol); 46Assert.Equal(ProtocolType.Tcp, internalEndpoint.Protocol); 99Assert.Equal(ProtocolType.Tcp, primaryEndpoint.Protocol); 108Assert.Equal(ProtocolType.Tcp, internalEndpoint.Protocol);
Aspire.Hosting.Garnet.Tests (2)
AddGarnetTests.cs (2)
32Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 60Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.Kafka.Tests (2)
AddKafkaTests.cs (2)
36Assert.Equal(ProtocolType.Tcp, primaryEndpoint.Protocol); 45Assert.Equal(ProtocolType.Tcp, internalEndpoint.Protocol);
Aspire.Hosting.Keycloak.Tests (1)
KeycloakResourceBuilderTests.cs (1)
34Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.Milvus.Tests (3)
AddMilvusTests.cs (3)
44Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 75Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 202Assert.Equal(ProtocolType.Tcp, grpcEndpoint.Protocol);
Aspire.Hosting.MongoDB.Tests (2)
AddMongoDBTests.cs (2)
34Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 62Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.MySql.Tests (2)
AddMySqlTests.cs (2)
59Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 99Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.Nats.Tests (2)
AddNatsTests.cs (2)
104Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 150Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.Oracle.Tests (3)
AddOracleTests.cs (3)
58Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 98Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 181Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.PostgreSQL.Tests (3)
AddPostgresTests.cs (3)
68Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 123Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 215Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.Qdrant.Tests (5)
AddQdrantTests.cs (5)
63Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 103Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 136Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 298Assert.Equal(ProtocolType.Tcp, grpcEndpoint.Protocol); 306Assert.Equal(ProtocolType.Tcp, httpEndpoint.Protocol);
Aspire.Hosting.RabbitMQ.Tests (2)
AddRabbitMQTests.cs (2)
61Assert.Equal(ProtocolType.Tcp, primaryEndpoint.Protocol); 71Assert.Equal(ProtocolType.Tcp, mangementEndpoint.Protocol);
Aspire.Hosting.Redis.Tests (2)
AddRedisTests.cs (2)
41Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 69Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.SqlServer.Tests (1)
AddSqlServerTests.cs (1)
54Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);
Aspire.Hosting.Valkey.Tests (2)
AddValkeyTests.cs (2)
32Assert.Equal(ProtocolType.Tcp, endpoint.Protocol); 60Assert.Equal(ProtocolType.Tcp, endpoint.Protocol);