[Static web assets] Add comment about static web assets in CreateDefaultBuilder (#20653)
Updates the existing comment to indicate that we plug-in static web assets in development
This commit is contained in:
parent
1bbca1502b
commit
5f7e1a0004
|
|
@ -15,6 +15,7 @@ namespace Microsoft.Extensions.Hosting
|
|||
/// <remarks>
|
||||
/// The following defaults are applied to the <see cref="IWebHostBuilder"/>:
|
||||
/// use Kestrel as the web server and configure it using the application's configuration providers,
|
||||
/// configure the <see cref="IWebHostEnvironment.WebRootFileProvider"/> to map static web assets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
|
||||
/// adds the HostFiltering middleware,
|
||||
/// adds the ForwardedHeaders middleware if ASPNETCORE_FORWARDEDHEADERS_ENABLED=true,
|
||||
/// and enable IIS integration.
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ namespace Microsoft.AspNetCore
|
|||
/// load <see cref="IConfiguration"/> from environment variables,
|
||||
/// load <see cref="IConfiguration"/> from supplied command line args,
|
||||
/// configure the <see cref="ILoggerFactory"/> to log to the console and debug output,
|
||||
/// configure the <see cref="IWebHostEnvironment.WebRootFileProvider"/> to map static web assets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
|
||||
/// adds the HostFiltering middleware,
|
||||
/// adds the ForwardedHeaders middleware if ASPNETCORE_FORWARDEDHEADERS_ENABLED=true,
|
||||
/// and enable IIS integration.
|
||||
|
|
|
|||
Loading…
Reference in New Issue