1 write to Port
Microsoft.AspNetCore.Http (1)
BindingAddress.cs (1)
20Port = port;
21 references to Port
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
185var browserHttpsPort = dashboardOptions.Frontend.GetEndpointAddresses().FirstOrDefault(IsHttpsOrNull)?.Port; 662return otlpAddress == null || (frontendAddress.Equals(otlpAddress) && otlpAddress.Port != 0);
Aspire.Hosting (1)
ProjectResourceBuilderExtensions.cs (1)
452e.Port = bindingAddress.Port;
http2cat (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
66var endpoint = new IPEndPoint(ip, address.Port);
IIS.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
66var endpoint = new IPEndPoint(ip, address.Port);
IIS.LongTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
66var endpoint = new IPEndPoint(ip, address.Port);
IIS.NewHandler.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
66var endpoint = new IPEndPoint(ip, address.Port);
IIS.NewShim.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
66var endpoint = new IPEndPoint(ip, address.Port);
IISExpress.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
66var endpoint = new IPEndPoint(ip, address.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.Http.Tests (3)
BindingAddressTests.cs (3)
67Assert.Equal(port, serverAddress.Port); 86Assert.Equal(port, serverAddress.Port); 104Assert.Equal(port, serverAddress.Port);
Microsoft.AspNetCore.HttpsPolicy (2)
HttpsRedirectionMiddleware.cs (2)
147if (nullablePort.HasValue && nullablePort != bindingAddress.Port) 155nullablePort = bindingAddress.Port;
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
src\Shared\Http2cat\Http2CatHostedService.cs (1)
66var endpoint = new IPEndPoint(ip, address.Port);
Microsoft.AspNetCore.Server.Kestrel.Core (3)
Internal\AddressBinder.cs (3)
82endpoint = new IPEndPoint(ip, address.Port); 131options = new LocalhostListenOptions(parsedAddress.Port); 140options = new AnyIPListenOptions(parsedAddress.Port);