8 writes to Name
Aspire.Hosting.Native.Core.Tests (7)
DeclarativeApplicationTests.cs (3)
124
Name
= $"port-{index}",
270
producer.WithEndpoint(new() {
Name
= "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 6379, HostPort = 0, EnvironmentVariable = "" });
373
service.WithEndpoint(new() {
Name
= "tcp", Protocol = "TCP", UriScheme = "tcp", TargetPort = 6379, HostPort = 0, EnvironmentVariable = "" });
MilestoneDependencyTests.cs (1)
369
Name
= "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)
130
Name
= options.Name,
3 references to Name
Aspire.Hosting.Native.Server (3)
Api\DeclarativeWorkloadApi.cs (2)
112
var ports = current.Plan.Endpoints.Where(port => port.Name != endpoint.
Name
).Append(
113
new WorkloadPort(endpoint.
Name
, RuntimeStates.ParseProtocol(endpoint.Protocol), endpoint.UriScheme,
Api\WorkloadApi.cs (1)
149
return endpoints.Select(endpoint => new WorkloadPort(endpoint.
Name
, RuntimeStates.ParseProtocol(endpoint.Protocol), endpoint.UriScheme,