48 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.Azure.Tests (2)
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)
155 references to Port
Aspire.Hosting (12)
Aspire.Hosting.Azure.Kusto.Tests (2)
Aspire.Hosting.Azure.Tests (21)
Aspire.Hosting.Dotnet.Tests (11)
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)
337Assert.Equal(7123, a.Port);
343Assert.Equal(5156, a.Port);
421e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
425e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
429e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p2");
433e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p3");
464e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
468e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
472e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p2");
476e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p3");
523e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
553e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: $"p{index++}");
737e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
743e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
WithEndpointTests.cs (18)
659Assert.Equal(5000, endpoint.Port);
675Assert.Equal(5001, endpoint.Port);
691Assert.Equal(5000, endpoint.Port);
708Assert.Equal(3000, endpoint.Port);
725Assert.Equal(8080, endpoint.Port);
783Assert.Equal(8443, endpoint.Port);
799Assert.Equal(9090, endpoint.Port);
816Assert.Equal(8080, endpoint.Port);
862Assert.Equal(2000, endpoint.Port);
916Assert.Equal(2000, endpoint.Port);
920Assert.Null(endpoint.Port);
924Assert.Equal(2000, endpoint.Port);
928Assert.Null(endpoint.Port);
932Assert.Equal(2001, endpoint.Port);
998Assert.Equal(3000, endpoint.Port);
1013Assert.Equal(3000, endpoint.Port);
1027Assert.Equal(2000, endpoint.Port);
1041Assert.Equal(123, endpoint.Port);
Aspire.Hosting.Valkey.Tests (2)
Aspire.Hosting.Yarp.Tests (1)