4 references to Port
Aspire.Hosting (2)
ApplicationModel\EndpointReference.cs (2)
178
EndpointProperty.Port => new(Endpoint.
Port
.ToString(CultureInfo.InvariantCulture)),
181
EndpointProperty.HostAndPort => new($"{Endpoint.Host}:{Endpoint.
Port
.ToString(CultureInfo.InvariantCulture)}"),
Aspire.Hosting.Kafka (1)
KafkaBuilderExtensions.cs (1)
218
? ReferenceExpression.Create($"PLAINTEXT://localhost:29092,PLAINTEXT_HOST://localhost:{primaryEndpoint.
Port
.ToString(CultureInfo.InvariantCulture)},PLAINTEXT_INTERNAL://{resource.Name}:{internalEndpoint.Property(EndpointProperty.TargetPort)}")
Aspire.Hosting.Tests (1)
ProjectResourceTests.cs (1)
651
Assert.Equal(https.
Port
.ToString(), config["ASPNETCORE_HTTPS_PORT"]);