6 references to PreferHostingUrls
Microsoft.AspNetCore.Hosting.Tests (2)
WebHostTests.cs (2)
110using (var host = CreateBuilder().UseFakeServer().PreferHostingUrls(true).Build()) 129using (var host = CreateBuilder(config).UseFakeServer().PreferHostingUrls(true).Build())
Microsoft.AspNetCore.Server.IISIntegration (1)
WebHostBuilderIISExtensions.cs (1)
85hostBuilder.PreferHostingUrls(true);
Sockets.BindTests (3)
src\Servers\Kestrel\test\BindTests\AddressRegistrationTests.cs (3)
619.PreferHostingUrls(true) 664.PreferHostingUrls(false) 705.PreferHostingUrls(true)