WebHostBuilder
WebHostBuilder()
Build()
ConfigureAppConfiguration(Action<WebHostBuilderContext, IConfigurationBuilder>)
ConfigureServices(Action<IServiceCollection>)
ConfigureServices(Action<WebHostBuilderContext, IServiceCollection>)
GetSetting(String)
UseSetting(String, String)
net10.0
namespace Microsoft.AspNetCore.Hosting
{
[Obsolete("WebHostBuilder is deprecated in favor of HostBuilder and WebApplicationBuilder. For more information, visit https://aka.ms/aspnet/deprecate/004.", DiagnosticId = "ASPDEPR004", UrlFormat = "https://aka.ms/aspnet/deprecate/004")]
public class WebHostBuilder : IWebHostBuilder
{
public IWebHostBuilder! ConfigureAppConfiguration(Action<WebHostBuilderContext!, IConfigurationBuilder!>! configureDelegate);
}
}
| nuget.org | 0.0 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 3.03.1 |
Information specific to net10.0 | |
| Assembly | Microsoft.AspNetCore.Hosting , Version=10.0.0.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Requires any:
|
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API