45 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.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)
138 references to Port
Aspire.Hosting (12)
Aspire.Hosting.Azure.Kusto.Tests (2)
Aspire.Hosting.Azure.Tests (20)
Aspire.Hosting.Dotnet.Tests (1)
Aspire.Hosting.Foundry.Tests (1)
Aspire.Hosting.Garnet.Tests (2)
Aspire.Hosting.Kafka.Tests (3)
Aspire.Hosting.Keycloak.Tests (3)
Aspire.Hosting.Maui.Tests (4)
Aspire.Hosting.Milvus.Tests (3)
Aspire.Hosting.MongoDB.Tests (3)
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)
331Assert.Equal(7123, a.Port);
337Assert.Equal(5156, a.Port);
415e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
419e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
423e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p2");
427e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p3");
458e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
462e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p1");
466e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p2");
470e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p3");
517e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
547e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: $"p{index++}");
731e.AllocatedEndpoint = new(e, "localhost", e.Port!.Value, targetPortExpression: "p0");
737e.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)