WebHostService
net11.0
namespace Microsoft.AspNetCore.Hosting.WindowsServices
{
[DesignerCategory("Code")]
[Obsolete("Use UseWindowsService and AddHostedService instead. For more information, visit https://aka.ms/aspnet/deprecate/009.", DiagnosticId = "ASPDEPR009", UrlFormat = "https://aka.ms/aspnet/deprecate/009")]
public class WebHostService : ServiceBase
}
| nuget.org | 0.0 % Reference this API 0.0 % Derive from this class or interface |
|---|---|
| .NET | 10.011.0 |
Information specific to net11.0 | |
| Assemblies | Microsoft.AspNetCore.Hosting.WindowsServices , Version=11.0.0.0, PublicKeyToken=adb9793829ddae60 Microsoft.AspNetCore.Hosting.WindowsServices , Version=10.0.5.0, PublicKeyToken=adb9793829ddae60 |
| Referencing | Your project needs a package reference to |
| Package | Microsoft.AspNetCore.Hosting.WindowsServices (11.0.0-preview.2.26159.112) net11.0 |
| Obsolete | ASPDEPR009: Use UseWindowsService and AddHostedService instead. For more information, visit https://aka.ms/aspnet/deprecate/009. |
| Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API