WebHost
CreateDefaultBuilder()
CreateDefaultBuilder(String[])
CreateDefaultBuilder<TStartup>(String[])
Start(RequestDelegate)
Start(String, RequestDelegate)
Start(Action<IRouteBuilder>)
Start(String, Action<IRouteBuilder>)
StartWith(Action<IApplicationBuilder>)
StartWith(String, Action<IApplicationBuilder>)
net10.0
namespace Microsoft.AspNetCore
{
[Obsolete("WebHost is obsolete. Use HostBuilder or WebApplicationBuilder instead. For more information, visit https://aka.ms/aspnet/deprecate/008.", DiagnosticId = "ASPDEPR008", UrlFormat = "https://aka.ms/aspnet/deprecate/008")]
public static class WebHost
{
public static IWebHost! Start(RequestDelegate! app);
}
}
| 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 , 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