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
RequestBodySizeLimit has a default value that will break some apps. Recommended workaround is to use attribute to change limit on a per action basis -- RequestSizeLimitAttribute
IISIntegration is automatically called when running with IIS
When using the metapackage (IISIntegration is in the smaller package MS.AspNet.Core package, so this applies even if targeting .NET Framework)
When installing packages individually, however no compile error if you use individual packages and don't include IISIntegration and don't call IISIntegration explicitly. (update ANCM doc)
CreateDefaultBuilder calls it.
ANCM sets a light-up environment variable: even if you didn't call IISIntegration in your code, run this module and add it.
Don't use UseURLs anymore
UseIISIntegration overrides new listen config API which in turn overrides UseURLs API
If you do use UseURLs, you can't include HTTPS URLs (we throw an exception)
UseHttps moved from KestrelServerOptions to ListenOptions
UseUrls is useful if you're not using SSL and you want to be able to switch servers (that and for backward compatibility is why we kept it)
With CreateDefaultBuilder which already calls UseKestrel, to configure options: Services.Configure(KestrelOptions) up until the server starts
"If you specify port number 0, Kestrel dynamically binds to an available port. Binding to port 0 is allowed for any host name or IP except for localhost name."
The text was updated successfully, but these errors were encountered:
Binding to port 0 is allowed for any host name or IP except for"localhost
name.The text was updated successfully, but these errors were encountered: