Implemented interface member:
property
PreferHostingUrls
Microsoft.AspNetCore.Hosting.Server.Features.IServerAddressesFeature.PreferHostingUrls
1 write to PreferHostingUrls
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
AddressBinderTests.cs (1)
240
addressBindContext.ServerAddressesFeature.
PreferHostingUrls
= true;
3 references to PreferHostingUrls
Microsoft.AspNetCore.Server.Kestrel.Core (2)
Internal\AddressBinder.cs (1)
24
context.ServerAddressesFeature.
PreferHostingUrls
,
Internal\KestrelServerImpl.cs (1)
305
if (Options.ConfigurationLoader?.ReloadOnChange == true && (!_serverAddresses.
PreferHostingUrls
|| _serverAddresses.InternalCollection.Count == 0))
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
AddressBinderTests.cs (1)
247
Assert.Equal(CoreStrings.FormatOverridingWithPreferHostingUrls(nameof(addressBindContext.ServerAddressesFeature.
PreferHostingUrls
), overriddenAddress), log.Message);