aemarcoToolboxTopService 8.2.8

dotnet add package aemarcoToolboxTopService --version 8.2.8
                    
NuGet\Install-Package aemarcoToolboxTopService -Version 8.2.8
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="aemarcoToolboxTopService" Version="8.2.8" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="aemarcoToolboxTopService" Version="8.2.8" />
                    
Directory.Packages.props
<PackageReference Include="aemarcoToolboxTopService" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add aemarcoToolboxTopService --version 8.2.8
                    
#r "nuget: aemarcoToolboxTopService, 8.2.8"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=aemarcoToolboxTopService&version=8.2.8
                    
Install aemarcoToolboxTopService as a Cake Addin
#tool nuget:?package=aemarcoToolboxTopService&version=8.2.8
                    
Install aemarcoToolboxTopService as a Cake Tool

aemarcoToolboxTopService

<a href=https://www.nuget.org/packages/aemarcoToolboxTopService><img src="https://buildstats.info/nuget/aemarcoToolboxTopService"></a><br/>

Overview

This package injects some commands into the Application, to make it easier to use. The behaviour of it is somewhat inspired by "Topshelf".

  • HostedService as WindowsService
  • Use Commands directly on the app (see Commands section)

Get Started

{
   HostApplicationBuilder app = Host.CreateApplicationBuilder(args);
   app.Services.AddHostedService<SampleBackgroundService>();
   await app.RunAsTopService(x => x
    .ServiceName("SomeService")
    .DisplayName("Some Service")
    .Description("SampleService installed with TopService"));
}

Commands

  • "install" to install as a windows service
  • "uninstall" to uninstall the service
  • "start" to start the service
  • "stop" to stop the service

Startup Type

{
    x.StartupType(StartupType.AutoDelayed));
}
Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
8.2.8 33 3/30/2025
8.2.7 249 3/23/2025
8.2.6 117 3/16/2025
8.2.5 88 3/2/2025
8.2.4 93 1/26/2025
8.2.3 80 1/9/2025
8.2.2 91 1/9/2025
8.1.4 105 1/1/2025
8.1.3 108 12/31/2024
8.1.2 100 12/26/2024
8.0.8 88 12/23/2024
8.0.7 79 12/23/2024
8.0.6 105 12/22/2024
8.0.5 91 12/21/2024
8.0.4 98 11/17/2024
8.0.3 139 11/17/2024
5.0.21 94 11/16/2024
5.0.20 109 10/20/2024
5.0.19 109 10/19/2024
5.0.18 121 10/19/2024
5.0.17 106 10/13/2024
5.0.16 98 10/12/2024
5.0.6 108 10/6/2024
5.0.5 100 10/2/2024
5.0.4 102 10/1/2024
5.0.3 98 9/22/2024
5.0.2 198 9/16/2024
4.0.9 117 9/15/2024
4.0.8 101 9/8/2024
4.0.7 99 9/8/2024
4.0.6 98 9/8/2024
4.0.5 94 9/8/2024
4.0.2 119 9/8/2024
3.1.27 110 9/8/2024
3.1.26 150 9/7/2024
3.1.25 123 9/7/2024
3.1.24 117 9/7/2024
3.1.23 116 9/1/2024
3.1.22 123 9/1/2024
3.1.21 144 6/16/2024
3.1.20 117 5/31/2024
3.1.19 112 5/20/2024
3.1.18 106 5/10/2024
3.1.17 132 4/12/2024
3.1.16 128 4/4/2024
3.1.15 131 3/22/2024
3.1.11 129 3/19/2024
3.1.10 150 2/16/2024
3.1.7 143 2/11/2024
3.1.6 134 2/11/2024
3.1.5 116 2/11/2024
3.1.4 143 2/11/2024
3.0.18 199 1/29/2024
3.0.17 118 1/29/2024
3.0.16 124 1/27/2024
3.0.15 103 1/27/2024