18 references to ListenLocalhost
Aspire.Hosting (1)
Dashboard\DashboardServiceHost.cs (1)
153kestrelOptions.ListenLocalhost(uri.Port, ConfigureListen);
HttpStress (1)
Program.cs (1)
394ko.ListenLocalhost(HttpsPort, listenOptions =>
InMemory.FunctionalTests (10)
HttpsTests.cs (10)
53serverOptions.ListenLocalhost(5000, options => 61serverOptions.ListenLocalhost(5001, options => 118serverOptions.ListenLocalhost(5000, options => 150serverOptions.ListenLocalhost(5000, options => 445serverOptions.ListenLocalhost(5001, listenOptions => 489serverOptions.ListenLocalhost(5001, listenOptions => 530serverOptions.ListenLocalhost(5001, listenOptions => 566serverOptions.ListenLocalhost(5001, listenOptions => 601serverOptions.ListenLocalhost(5001, listenOptions => 647serverOptions.ListenLocalhost(5001, listenOptions =>
Interop.FunctionalTests (2)
Http3\Http3RequestTests.cs (2)
1587kestrel.ListenLocalhost(5001, listenOptions => 1638kestrel.ListenLocalhost(5001, listenOptions =>
Kestrel.SampleApp (1)
Startup.cs (1)
113options.ListenLocalhost(basePort + 2, listenOptions =>
Microsoft.AspNetCore.Server.Kestrel.Core (2)
KestrelConfigurationLoader.cs (1)
143Options.ListenLocalhost(port, configure);
KestrelServerOptions.cs (1)
533public void ListenLocalhost(int port) => ListenLocalhost(port, options => { });
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
KestrelServerOptionsTests.cs (1)
45options.ListenLocalhost(5000, opt =>