11 references to Ports
Aspire.Hosting.Radius (5)
Publishing\Constructs\RadiusContainerConstruct.cs (1)
147_ports = DefineDictionaryProperty<ContainerPortConstruct>(nameof(Ports), ["properties", "containers", _containerName, "ports"]);
Publishing\RadiusInfrastructureBuilder.cs (4)
3579construct.Ports[name] = port; 4976if (!container.Ports.TryGetValue(portName, out var portValue) || portValue.Value is not { } port) 5028if (container.Ports.Count == 0) 5041foreach (var (portName, portValue) in container.Ports)
Aspire.Hosting.Radius.Tests (6)
Publishing\ConfigureRadiusInfrastructureTests.cs (6)
396opts.Containers[0].Ports["http"] = new ContainerPortConstruct 426opts.Containers[0].Ports.Clear(); 452opts.Containers[0].Ports["http"] = new ContainerPortConstruct 483opts.Containers[0].Ports["http"] = new ContainerPortConstruct 565opts.Containers[0].Ports["http"] = new ContainerPortConstruct 619opts.Containers[0].Ports["http2"] = new ContainerPortConstruct