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
Copy file name to clipboardExpand all lines: src/DefaultBuilder/src/GenericHostBuilderExtensions.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,7 @@ public static class GenericHostBuilderExtensions
15
15
/// <remarks>
16
16
/// The following defaults are applied to the <see cref="IWebHostBuilder"/>:
17
17
/// use Kestrel as the web server and configure it using the application's configuration providers,
18
+
/// configure the <see cref="IWebHostEnvironment.WebRootFileProvider"/> to map static web assets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
18
19
/// adds the HostFiltering middleware,
19
20
/// adds the ForwardedHeaders middleware if ASPNETCORE_FORWARDEDHEADERS_ENABLED=true,
Copy file name to clipboardExpand all lines: src/DefaultBuilder/src/WebHost.cs
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -146,6 +146,7 @@ public static IWebHostBuilder CreateDefaultBuilder() =>
146
146
/// load <see cref="IConfiguration"/> from environment variables,
147
147
/// load <see cref="IConfiguration"/> from supplied command line args,
148
148
/// configure the <see cref="ILoggerFactory"/> to log to the console and debug output,
149
+
/// configure the <see cref="IWebHostEnvironment.WebRootFileProvider"/> to map static web assets when <see cref="IHostEnvironment.EnvironmentName"/> is 'Development' using the entry assembly,
149
150
/// adds the HostFiltering middleware,
150
151
/// adds the ForwardedHeaders middleware if ASPNETCORE_FORWARDEDHEADERS_ENABLED=true,
0 commit comments