11 references to Ports
Aspire.Hosting.Radius (5)
Publishing\Constructs\RadiusContainerConstruct.cs (1)
145_ports = DefineDictionaryProperty<ContainerPortConstruct>(nameof(Ports), ["properties", "containers", _containerName, "ports"]);
Publishing\RadiusInfrastructureBuilder.cs (4)
1052construct.Ports[name] = port; 1495if (!container.Ports.TryGetValue(portName, out var portValue) || portValue.Value is not { } port) 1547if (container.Ports.Count == 0) 1560foreach (var (portName, portValue) in container.Ports)
Aspire.Hosting.Radius.Tests (6)
Publishing\ConfigureRadiusInfrastructureTests.cs (6)
393opts.Containers[0].Ports["http"] = new ContainerPortConstruct 423opts.Containers[0].Ports.Clear(); 449opts.Containers[0].Ports["http"] = new ContainerPortConstruct 480opts.Containers[0].Ports["http"] = new ContainerPortConstruct 562opts.Containers[0].Ports["http"] = new ContainerPortConstruct 616opts.Containers[0].Ports["http2"] = new ContainerPortConstruct