This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Initializes a new instance of the <see cref="WebHostBuilder"/> class with pre-configured defaults. | |
/// </summary> | |
/// <remarks> | |
/// The following defaults are applied to the returned <see cref="WebHostBuilder"/>: | |
/// use Kestrel as the web server and configure it using the application's configuration providers, | |
/// set the <see cref="IHostingEnvironment.ContentRootPath"/> to the result of <see cref="Directory.GetCurrentDirectory()"/>, | |
/// load <see cref="IConfiguration"/> from 'appsettings.json', | |
/// load <see cref="IConfiguration"/> from User Secrets when <see cref="IHostingEnvironment.EnvironmentName"/> is 'Development' using the entry assembly, | |
/// load <see cref="IConfiguration"/> from environment variables, |