6 references to PreferHostingUrlsKey
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostService.cs (1)
103
var preferHostingUrlsConfig = Configuration[WebHostDefaults.
PreferHostingUrlsKey
];
Internal\WebHost.cs (1)
268
serverAddressesFeature!.PreferHostingUrls = WebHostUtilities.ParseBool(_config[WebHostDefaults.
PreferHostingUrlsKey
]);
Internal\WebHostOptions.cs (1)
30
PreferHostingUrls = WebHostUtilities.ParseBool(GetConfig(WebHostDefaults.
PreferHostingUrlsKey
));
Microsoft.AspNetCore.Hosting.Abstractions (1)
HostingAbstractionsWebHostBuilderExtensions.cs (1)
141
return hostBuilder.UseSetting(WebHostDefaults.
PreferHostingUrlsKey
, preferHostingUrls ? "true" : "false");
Microsoft.AspNetCore.Server.IISIntegration.Tests (2)
IISMiddlewareTests.cs (2)
310
Assert.Null(webHostBuilder.GetSetting(WebHostDefaults.
PreferHostingUrlsKey
));
323
Assert.Equal("true", configuration[WebHostDefaults.
PreferHostingUrlsKey
]);