48 references to UseUrls
DependencyInjectionApp (1)
Program.cs (1)
18.UseUrls("http://127.0.0.1:0")
Microsoft.AspNetCore (1)
WebHost.cs (1)
95builder.UseUrls(url);
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingAbstractionsWebHostBuilderExtensions.cs (1)
174var host = hostBuilder.UseUrls(urls).Build();
Microsoft.AspNetCore.Hosting.Tests (2)
GenericWebHostBuilderTests.cs (2)
53.UseUrls("TEST_URL") 77.UseUrls("TEST_URL")
Microsoft.AspNetCore.Http.Connections.Tests (4)
HttpConnectionDispatcherTests.cs (2)
3531.UseUrls("http://127.0.0.1:0"); 3677.UseUrls("http://127.0.0.1:0");
MapConnectionHandlerTests.cs (2)
500.UseUrls("http://127.0.0.1:0"); 511.UseUrls("http://127.0.0.1:0")
Microsoft.AspNetCore.Server.Kestrel.Microbenchmarks (2)
InMemoryTransportBenchmark.cs (1)
53.UseUrls("http://127.0.0.1:5000")
NamedPipesTransportBenchmark.cs (1)
51.UseUrls($"http://pipe:/{_pipeName}")
Microsoft.AspNetCore.Server.Kestrel.Transport.Quic.Tests (1)
WebHostTests.cs (1)
63.UseUrls("https://127.0.0.1:0")
Microsoft.AspNetCore.SignalR.Tests (2)
MapSignalRTests.cs (2)
62.UseUrls("http://127.0.0.1:0"); 411.UseUrls("http://127.0.0.1:0");
Microsoft.AspNetCore.SignalR.Tests.Utils (1)
src\Shared\SignalR\InProcessTestServer.cs (1)
110.UseUrls(url)
Microsoft.AspNetCore.StaticFiles.FunctionalTests (8)
FallbackStaticFileTest.cs (2)
33.UseUrls(TestUrlHelper.GetTestUrl(ServerType.Kestrel)) 86.UseUrls(TestUrlHelper.GetTestUrl(ServerType.Kestrel))
StaticFileMiddlewareTests.cs (6)
30.UseUrls(TestUrlHelper.GetTestUrl(ServerType.Kestrel)) 53.UseUrls(TestUrlHelper.GetTestUrl(ServerType.Kestrel)) 99.UseUrls(TestUrlHelper.GetTestUrl(ServerType.Kestrel)) 144.UseUrls(TestUrlHelper.GetTestUrl(ServerType.Kestrel)) 186.UseUrls(TestUrlHelper.GetTestUrl(ServerType.Kestrel)) 267.UseUrls(TestUrlHelper.GetTestUrl(serverType));
Microsoft.AspNetCore.TestHost.Tests (1)
TestServerTests.cs (1)
265.UseUrls(url)
SampleStartups (3)
StartupConfigureAddresses.cs (1)
37.UseUrls("http://localhost:5000", "http://localhost:5001");
StartupExternallyControlled.cs (1)
39.UseUrls(_urls.ToArray());
StartupFullControl.cs (1)
31.UseUrls("http://*:1000", "https://*:902")
SignalR.Client.FunctionalTestApp (1)
Program.cs (1)
53webHostBuilder.UseUrls(url);
Sockets.BindTests (10)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (10)
194.UseUrls(addressInput) 244.UseUrls("http://127.0.0.1:0") 549.UseUrls($"http://127.0.0.1:{port}") 584.UseUrls($"http://[::1]:{port}") 618.UseUrls(useUrlsAddress) 663.UseUrls($"http://127.0.0.1:0") 751.UseUrls("http://localhost:0") 776.UseUrls(address) 912.UseUrls("http://127.0.0.1:0") 966.UseUrls($"http://localhost:{port}")
Sockets.FunctionalTests (10)
SocketTransportTests.cs (1)
32.UseUrls("http://127.0.0.1:0")
src\Servers\Kestrel\test\FunctionalTests\RequestTests.cs (6)
83.UseUrls("http://127.0.0.1:0/") 168.UseUrls("http://127.0.0.1:0") 544.UseUrls("http://127.0.0.1:0") 598.UseUrls("http://127.0.0.1:0") 695.UseUrls("http://127.0.0.1:0") 1100.UseUrls($"http://{registerAddress}:0")
src\Servers\Kestrel\test\FunctionalTests\ResponseTests.cs (2)
50.UseUrls("http://127.0.0.1:0/") 108.UseUrls("http://127.0.0.1:0/")
src\Servers\Kestrel\test\FunctionalTests\UnixDomainSocketsTests.cs (1)
147.UseUrls(url)