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 Nov 1, 2018. It is now read-only.
Especially given the fact we are injecting UseIISIntegration, this makes me a little uncomfortable. Anything we can do to improve discoverability around this behavior?
@shirhatti The servers will log if server addresses are used to override the endpoint configurations. We can have UseIISIntegration log that it's setting the PreferHostingUrls flag. Other than that, I can only think of updating docs to make this behaviour more clear.
When running behind IIS ANCM should override any Kestrel endpoint configuration by setting PreferHostingUrls
IISIntegration/src/Microsoft.AspNetCore.Server.IISIntegration/WebHostBuilderIISExtensions.cs
Line 54 in c420add
This can clean up some ugliness from Program.Main:
https://github.com/aspnet/Security/blob/2d7cd6038fea34b84084685648ac9d0c97be610b/samples/SocialSample/Program.cs#L19
See aspnet/Hosting#992
@JunTaoLuo
The text was updated successfully, but these errors were encountered: