1 write to Port
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
20Port = port;
18 references to Port
Aspire.Dashboard (2)
Configuration\EndpointInfo.cs (1)
31if (address.Port == 0)
DashboardWebApplication.cs (1)
219var browserHttpsPort = dashboardOptions.Frontend.GetEndpointAddresses().FirstOrDefault(IsHttpsOrNull)?.Port;
Aspire.Hosting (7)
Dashboard\DashboardEventHandlers.cs (4)
395dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, uriScheme: address.Scheme, port: address.Port, isProxied: true) 399LogEndpointAdded(address.Scheme, scheme: address.Scheme, host: address.Host, port: address.Port); 785annotation = new EndpointAnnotation(ProtocolType.Tcp, name: endpointName, uriScheme: address.Scheme, port: address.Port, isProxied: true, transport: transport) 789LogEndpointAdded(endpointName, scheme: address.Scheme, host: address.Host, port: address.Port);
ProjectResourceBuilderExtensions.cs (3)
679e.TargetPort = endpoint.BindingAddress.Port; 685e.Port = endpoint.BindingAddress.Port; 744e.Port = bindingAddress.Port;
Microsoft.AspNetCore.Http (3)
BindingAddress.cs (3)
123return Scheme.ToLowerInvariant() + Uri.SchemeDelimiter + Host.ToLowerInvariant() + ":" + Port.ToString(CultureInfo.InvariantCulture) + PathBase; 143&& Port == other.Port
Microsoft.AspNetCore.HttpsPolicy (2)
HttpsRedirectionMiddleware.cs (2)
147if (nullablePort.HasValue && nullablePort != bindingAddress.Port) 155nullablePort = bindingAddress.Port;
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\AddressBinder.cs (4)
82endpoint = new IPEndPoint(ip, address.Port); 131options = prefix is null ? new LocalhostListenOptions(parsedAddress.Port) : new LocalhostListenOptions(parsedAddress.Port, prefix); 140options = new AnyIPListenOptions(parsedAddress.Port);