Aspnetcore.docs: List IISIntegration overrides

Created on 15 Oct 2018  Â·  2Comments  Â·  Source: dotnet/AspNetCore.Docs

UseIISIntegration => It says it overrides settings "Such as...". Would be nice with a list over the exact methods it overrides.


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

P2 Source - Docs.ms

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}/ to http://127.0.0.1:{dynamicPort}/.

All 2 comments

@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. CreateDefaultBuilder calls the UseIISIntegration method, which picks up the dynamic port and configures Kestrel to listen on http://localhost:{dynamicPort}/. This overrides other URL configurations, such as calls to UseUrls or Kestrel's Listen API. Therefore, calls to UseUrls or Kestrel's Listen API aren't required when using the module. If UseUrls or Listen is 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}/.

Was this page helpful?
0 / 5 - 0 ratings