1 write to Port
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
20
Port
= port;
18 references to Port
Aspire.Dashboard (2)
Configuration\EndpointInfo.cs (1)
31
if (address.
Port
== 0)
DashboardWebApplication.cs (1)
199
var browserHttpsPort = dashboardOptions.Frontend.GetEndpointAddresses().FirstOrDefault(IsHttpsOrNull)?.
Port
;
Aspire.Hosting (7)
Dashboard\DashboardEventHandlers.cs (4)
417
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, uriScheme: address.Scheme, port: address.
Port
, isProxied: true)
426
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.OtlpGrpcEndpointName, uriScheme: address.Scheme, port: address.
Port
, isProxied: true, transport: "http2")
435
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: KnownEndpointNames.OtlpHttpEndpointName, uriScheme: address.Scheme, port: address.
Port
, isProxied: true)
445
dashboardResource.Annotations.Add(new EndpointAnnotation(ProtocolType.Tcp, name: McpEndpointName, uriScheme: address.Scheme, port: address.
Port
, isProxied: true)
ProjectResourceBuilderExtensions.cs (3)
543
e.TargetPort = endpoint.BindingAddress.
Port
;
549
e.Port = endpoint.BindingAddress.
Port
;
608
e.Port = bindingAddress.
Port
;
Microsoft.AspNetCore.Http (3)
BindingAddress.cs (3)
123
return Scheme.ToLowerInvariant() + Uri.SchemeDelimiter + Host.ToLowerInvariant() + ":" +
Port
.ToString(CultureInfo.InvariantCulture) + PathBase;
143
&&
Port
== other.
Port
Microsoft.AspNetCore.HttpsPolicy (2)
HttpsRedirectionMiddleware.cs (2)
147
if (nullablePort.HasValue && nullablePort != bindingAddress.
Port
)
155
nullablePort = bindingAddress.
Port
;
Microsoft.AspNetCore.Server.Kestrel.Core (4)
Internal\AddressBinder.cs (4)
82
endpoint = new IPEndPoint(ip, address.
Port
);
131
options = prefix is null ? new LocalhostListenOptions(parsedAddress.
Port
) : new LocalhostListenOptions(parsedAddress.
Port
, prefix);
140
options = new AnyIPListenOptions(parsedAddress.
Port
);