3 implementations of PreferHostingUrls
Microsoft.AspNetCore.Hosting (1)
Server\Features\ServerAddressesFeature.cs (1)
17public bool PreferHostingUrls { get; set; }
Microsoft.AspNetCore.Server.IIS (1)
Core\ServerAddressesFeature.cs (1)
11public bool PreferHostingUrls { get; set; }
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\ServerAddressesFeature.cs (1)
17public bool PreferHostingUrls { get; set; }
4 writes to PreferHostingUrls
Microsoft.AspNetCore.Hosting (3)
GenericHost\GenericWebHostService.cs (2)
108serverAddressesFeature!.PreferHostingUrls = WebHostUtilities.ParseBool(preferHostingUrlsConfig); 112serverAddressesFeature!.PreferHostingUrls = Options.WebHostOptions.PreferHostingUrls;
Internal\WebHost.cs (1)
269serverAddressesFeature!.PreferHostingUrls = WebHostUtilities.ParseBool(_config[WebHostDefaults.PreferHostingUrlsKey]);
Microsoft.AspNetCore.Mvc.Testing (1)
WebApplicationFactory.cs (1)
235saf.PreferHostingUrls = true;
2 references to PreferHostingUrls
Microsoft.AspNetCore.Server.HttpSys (1)
MessagePump.Log.cs (1)
46$"Overriding endpoints added to {nameof(HttpSysOptions.UrlPrefixes)} since {nameof(IServerAddressesFeature.PreferHostingUrls)} is set to true. Binding to address(es) '{{ServerAddresses}}' instead.",
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\AddressBinder.cs (1)
200context.Logger.LogInformation(CoreStrings.OverridingWithPreferHostingUrls, nameof(IServerAddressesFeature.PreferHostingUrls), joined);