46 writes to Port
Aspire.Hosting (5)
Aspire.Hosting.Azure.AppConfiguration (1)
Aspire.Hosting.Azure.CosmosDB (2)
Aspire.Hosting.Azure.EventHubs (1)
Aspire.Hosting.Azure.Kusto (1)
Aspire.Hosting.Azure.Kusto.Tests (1)
Aspire.Hosting.Azure.ServiceBus (1)
Aspire.Hosting.Azure.Storage (3)
Aspire.Hosting.Docker (1)
Aspire.Hosting.Kafka (1)
Aspire.Hosting.Kubernetes (3)
Aspire.Hosting.Maui (1)
Aspire.Hosting.Maui.Tests (1)
Aspire.Hosting.MongoDB (1)
Aspire.Hosting.MySql (1)
Aspire.Hosting.PostgreSQL (3)
Aspire.Hosting.Redis (3)
Aspire.Hosting.SqlServer (1)
Aspire.Hosting.Tests (11)
Aspire.Hosting.Yarp (3)
ProxylessEndToEnd.AppHost (1)
146 references to Port
Aspire.Hosting (12)
Aspire.Hosting.Azure.Kusto.Tests (2)
Aspire.Hosting.Azure.Tests (20)
Aspire.Hosting.Dotnet.Tests (3)
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.Garnet.Tests (2)
Aspire.Hosting.Kafka.Tests (3)
Aspire.Hosting.Keycloak.Tests (3)
Aspire.Hosting.Maui.Tests (9)
Aspire.Hosting.Milvus.Tests (3)
Aspire.Hosting.MongoDB.Tests (4)
Aspire.Hosting.MySql.Tests (2)
Aspire.Hosting.Nats.Tests (2)
Aspire.Hosting.Oracle.Tests (3)
Aspire.Hosting.PostgreSQL.Tests (5)
Aspire.Hosting.Qdrant.Tests (5)
Aspire.Hosting.RabbitMQ.Tests (3)
Aspire.Hosting.Redis.Tests (5)
Aspire.Hosting.Seq.Tests (4)
Aspire.Hosting.SqlServer.Tests (2)
Aspire.Hosting.Tests (50)
ProjectResourceTests.cs (14)
332Assert.Equal(7123, a.Port);
338Assert.Equal(5156, a.Port);
416e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
420e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
424e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p2");
428e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p3");
459e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
463e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
467e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p2");
471e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p3");
518e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
548e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: $"p{index++}");
732e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
738e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
WithEndpointTests.cs (18)
174Assert.Equal(2000, endpoint.Port);
250Assert.Equal(2000, endpoint.Port);
254Assert.Null(endpoint.Port);
258Assert.Equal(2000, endpoint.Port);
262Assert.Null(endpoint.Port);
266Assert.Equal(2001, endpoint.Port);
364Assert.Equal(3000, endpoint.Port);
379Assert.Equal(3000, endpoint.Port);
393Assert.Equal(2000, endpoint.Port);
785Assert.Equal(123, endpoint.Port);
920Assert.Equal(5000, endpoint.Port);
936Assert.Equal(5001, endpoint.Port);
952Assert.Equal(5000, endpoint.Port);
969Assert.Equal(3000, endpoint.Port);
986Assert.Equal(8080, endpoint.Port);
1044Assert.Equal(8443, endpoint.Port);
1060Assert.Equal(9090, endpoint.Port);
1077Assert.Equal(8080, endpoint.Port);
Aspire.Hosting.Valkey.Tests (2)
Aspire.Hosting.Yarp.Tests (1)