8 writes to TargetPort
Aspire.Hosting.Native.Core.Tests (7)
DeclarativeApplicationTests.cs (3)
127TargetPort = 6000 + index, 270producer.WithEndpoint(new() { Name = "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 6379, HostPort = 0, EnvironmentVariable = "" }); 373service.WithEndpoint(new() { Name = "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 6379, HostPort = 0, EnvironmentVariable = "" });
MilestoneDependencyTests.cs (1)
369Name = "http", Protocol = "TCP", UriScheme = "http", TargetPort = 0, HostPort = 0, EnvironmentVariable = "PORT"
NativeModelAlignmentTests.cs (2)
21.WithEndpoint(new() { Name = "http", Protocol = "TCP", UriScheme = "http", TargetPort = 80, HostPort = 0, EnvironmentVariable = "" }) 22.WithEndpoint(new() { Name = "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 90, HostPort = 0, EnvironmentVariable = "" })
NativePublishingTests.cs (1)
25.WithEndpoint(new() { Name = "tcp", TargetPort = 6379, Protocol = "TCP", UriScheme = "redis", HostPort = 0, EnvironmentVariable = "" })
Aspire.Hosting.Native.Server (1)
Api\RpcAuthoringApi.cs (1)
131TargetPort = options.TargetPort,
2 references to TargetPort
Aspire.Hosting.Native.Server (2)
Api\DeclarativeWorkloadApi.cs (1)
114endpoint.TargetPort, endpoint.HostPort, endpoint.EnvironmentVariable)).ToImmutableArray();
Api\WorkloadApi.cs (1)
150endpoint.TargetPort, endpoint.HostPort, endpoint.EnvironmentVariable)).ToImmutableArray();