38 references to Listen
Aspire.Dashboard.Tests (1)
Integration\DashboardClientAuthTests.cs (1)
95kestrelOptions.Listen(IPAddress.Loopback, port: 0, ConfigureListen);
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
146kestrelOptions.Listen(IPAddress.Loopback, port: 0, ConfigureListen);
AutobahnTestApp (1)
Program.cs (1)
58options.Listen(IPAddress.Loopback, uri.Port, listenOptions =>
Http3SampleApp (1)
Program.cs (1)
45options.Listen(IPAddress.Any, 5001, listenOptions =>
Interop.FunctionalTests (12)
H2SpecTests.cs (1)
36options.Listen(IPAddress.Loopback, 0, listenOptions =>
Http2\Http2RequestTests.cs (1)
106o.Listen(IPAddress.IPv6Loopback, 0, listenOptions =>
Http2WebSocketInteropTests.cs (1)
178options.Listen(IPAddress.Loopback, 0, listenOptions =>
Http3\Http3RequestTests.cs (5)
898o.Listen(IPAddress.Parse("127.0.0.1"), port, listenOptions => 1219o.Listen(IPAddress.Parse("127.0.0.1"), 0, listenOptions => 1691kestrel.Listen(IPAddress.Parse("127.0.0.1"), 0, listenOptions => 1860kestrel.Listen(IPAddress.Parse("127.0.0.1"), 0, listenOptions => 2023kestrel.Listen(IPAddress.Loopback, 0, listenOptions =>
HttpClientHttp2InteropTests.cs (3)
1606options.Listen(IPAddress.Loopback, 0, listenOptions => 1651options.Listen(IPAddress.Loopback, 0, listenOptions => 1710options.Listen(IPAddress.Loopback, 0, listenOptions =>
HttpHelpers.cs (1)
76o.Listen(IPAddress.Parse("127.0.0.1"), 0, listenOptions =>
Kestrel.SampleApp (2)
Startup.cs (2)
98options.Listen(IPAddress.Loopback, basePort, listenOptions => 106options.Listen(IPAddress.Loopback, basePort + 1, listenOptions =>
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServerOptions.cs (1)
474Listen(address, port, _ => { });
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (6)
WebHostTests.cs (6)
109o.Listen(IPAddress.Parse("127.0.0.1"), http3Port, listenOptions => 114o.Listen(IPAddress.Parse("127.0.0.1"), http1Port, listenOptions => 149o.Listen(IPAddress.Parse("127.0.0.1"), 0, listenOptions => 186o.Listen(IPAddress.Parse("127.0.0.1"), port, listenOptions => 224o.Listen(IPAddress.Parse("127.0.0.1"), port, listenOptions => 295o.Listen(IPAddress.Parse("127.0.0.1"), port, listenOptions =>
RewriteSample (1)
Startup.cs (1)
49options.Listen(IPAddress.Loopback, 5001, listenOptions =>
Sockets.FunctionalTests (6)
src\Servers\Kestrel\test\FunctionalTests\Http2\HandshakeTests.cs (3)
54kestrelOptions.Listen(IPAddress.Loopback, 0, listenOptions => 80kestrelOptions.Listen(IPAddress.Loopback, 0, listenOptions => 108kestrelOptions.Listen(IPAddress.Loopback, 0, listenOptions =>
src\Servers\Kestrel\test\FunctionalTests\Http2\ShutdownTests.cs (3)
78kestrelOptions.Listen(IPAddress.Loopback, 0, listenOptions => 135kestrelOptions.Listen(IPAddress.Loopback, 0, listenOptions => 186kestrelOptions.Listen(IPAddress.Loopback, 0, listenOptions =>
SystemdTestApp (2)
Startup.cs (2)
54options.Listen(IPAddress.Loopback, basePort, listenOptions => 62options.Listen(IPAddress.Loopback, basePort + 1, listenOptions =>
WebTransportInteractiveSampleApp (2)
Program.cs (2)
25options.Listen(IPAddress.Any, 5001, listenOptions => 31options.Listen(IPAddress.Any, 5002, listenOptions =>
WebTransportSampleApp (1)
Program.cs (1)
15options.Listen(IPAddress.Any, 5007, listenOptions =>
WsFedSample (1)
Program.cs (1)
20options.Listen(IPAddress.Loopback, 44307, listenOptions =>