You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.
The issue here is that the options are created before configure services and hosting startup assemblies. Now that UseIISIntegration is planned to be called from the hosting startup assembly, this means that the options will be out of date when we read from it in EnsureServer(). The config is always up to date so we should use that to set the PreferHostingUrls property on the IServerAddressesFeature instead. This is currently what we do for server urls due to the same reason and it works.
Related to aspnet/IISIntegration#361.
The issue here is that the options are created before configure services and hosting startup assemblies. Now that UseIISIntegration is planned to be called from the hosting startup assembly, this means that the options will be out of date when we read from it in EnsureServer(). The config is always up to date so we should use that to set the PreferHostingUrls property on the IServerAddressesFeature instead. This is currently what we do for server urls due to the same reason and it works.
cc @Tratcher
The text was updated successfully, but these errors were encountered: