aemarcoToolboxTopService 5.0.2

There is a newer version of this package available.
See the version list below for details.
dotnet add package aemarcoToolboxTopService --version 5.0.2                
NuGet\Install-Package aemarcoToolboxTopService -Version 5.0.2                
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="5.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add aemarcoToolboxTopService --version 5.0.2                
#r "nuget: aemarcoToolboxTopService, 5.0.2"                
#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.
// Install aemarcoToolboxTopService as a Cake Addin
#addin nuget:?package=aemarcoToolboxTopService&version=5.0.2

// Install aemarcoToolboxTopService as a Cake Tool
#tool nuget:?package=aemarcoToolboxTopService&version=5.0.2                

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. 
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.0.6 25 12/22/2024
8.0.5 41 12/21/2024
8.0.4 88 11/17/2024
8.0.3 94 11/17/2024
5.0.21 86 11/16/2024
5.0.20 97 10/20/2024
5.0.19 100 10/19/2024
5.0.18 108 10/19/2024
5.0.17 95 10/13/2024
5.0.16 87 10/12/2024
5.0.6 94 10/6/2024
5.0.5 91 10/2/2024
5.0.4 93 10/1/2024
5.0.3 90 9/22/2024
5.0.2 188 9/16/2024
4.0.9 108 9/15/2024
4.0.8 94 9/8/2024
4.0.7 92 9/8/2024
4.0.6 90 9/8/2024
4.0.5 87 9/8/2024
4.0.2 111 9/8/2024
3.1.27 104 9/8/2024
3.1.26 130 9/7/2024
3.1.25 118 9/7/2024
3.1.24 112 9/7/2024
3.1.23 112 9/1/2024
3.1.22 119 9/1/2024
3.1.21 137 6/16/2024
3.1.20 112 5/31/2024
3.1.19 108 5/20/2024
3.1.18 99 5/10/2024
3.1.17 128 4/12/2024
3.1.16 124 4/4/2024
3.1.15 127 3/22/2024
3.1.11 122 3/19/2024
3.1.10 140 2/16/2024
3.1.7 138 2/11/2024
3.1.6 127 2/11/2024
3.1.5 110 2/11/2024
3.1.4 137 2/11/2024
3.0.18 191 1/29/2024
3.0.17 112 1/29/2024
3.0.16 118 1/27/2024
3.0.15 96 1/27/2024