UseIISIntegration => It says it overrides settings "Such as...". Would be nice with a list over the exact methods it overrides.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
@Tratcher Is there anything else outside of URL configuration (UseUrls, Listen options)? The passage is ...
The ASP.NET Core Module generates a dynamic port to assign to the back-end process.
CreateDefaultBuildercalls theUseIISIntegrationmethod, which picks up the dynamic port and configures Kestrel to listen onhttp://localhost:{dynamicPort}/. This overrides other URL configurations, such as calls toUseUrlsor Kestrel'sListenAPI. Therefore, calls toUseUrlsor Kestrel'sListenAPI aren't required when using the module. IfUseUrlsorListenis called, Kestrel listens on the port specified when running the app without IIS.
Either way, I plan to revise the "such as" language.
"Kestrel _only_ listens on"
Also include the config or command line Urls option.
In 2.1 we changed UseIISIntegration from registering http://localhost:{dynamicPort}/ to http://127.0.0.1:{dynamicPort}/.
Most helpful comment
"Kestrel _only_ listens on"
Also include the config or command line Urls option.
In 2.1 we changed UseIISIntegration from registering
http://localhost:{dynamicPort}/tohttp://127.0.0.1:{dynamicPort}/.