godsharp - Hsu.Daemon.Systemd 2026.101.23
An easy service hosting library for Windows and Linux.
PM> Install-Package Hsu.Daemon.Systemd -Version 2026.101.23 -Source https://www.myget.org/F/godsharp/api/v3/index.json
> nuget.exe install Hsu.Daemon.Systemd -Version 2026.101.23 -Source https://www.myget.org/F/godsharp/api/v3/index.json
> dotnet add package Hsu.Daemon.Systemd --version 2026.101.23 --source https://www.myget.org/F/godsharp/api/v3/index.json
source https://www.myget.org/F/godsharp/api/v3/index.json
nuget Hsu.Daemon.Systemd ~> 2026.101.23
Copy to clipboard
> choco install Hsu.Daemon.Systemd --version 2026.101.23 --source https://www.myget.org/F/godsharp/api/v2
Import-Module PowerShellGet
Register-PSRepository -Name "godsharp" -SourceLocation "https://www.myget.org/F/godsharp/api/v2"
Install-Module -Name "Hsu.Daemon.Systemd" -RequiredVersion "2026.101.23" -Repository "godsharp"
Copy to clipboard
Browse the sources in this package using Visual Studio or WinDbg by configuring the following symbol server URL: https://www.myget.org/F/godsharp/api/v2/symbolpackage/
Hsu.Daemon
Package Version
- Web : Used for
IWebHost.
Getting Started
Self Commands
# windows
appName.exe --help
# Linux
dotnet appName.dll --help
Windows Service(.NET Framework)
PM> Install-Package Hsu.Daemon.Cli
PM> Install-Package Hsu.Daemon.Windows
var daemond = Daemond.CreateBuilder(args).UseWindowsServices().Build();
if (!daemond.Runnable()) return;
daemond
.Configure(x => x
.OnStart(OnStart)
.OnStop(OnStop)
)
.Run();
Worker Service
PM> Install-Package Hsu.Daemon.Cli
PM> Install-Package Hsu.Daemon.Windows
PM> Install-Package Hsu.Daemon.Systemd
PM> Install-Package Hsu.Daemon.Hosting
// 1. To parser arguments
var daemond = Daemond.CreateBuilder(args).UseWindowsServices().Build();
if (!daemond.Runnable()) return;
var builder = Host.CreateDefaultBuilder(args);
// 2. Use middleware
// builder.UseWindowsService();
// or
// builder.UseSystemd();
// 3. Execute serving or console
builder.Build().Run(daemond.Code);
License
MIT
-
.NETCoreApp 3.1
- Hsu.Daemon.Abstractions (>= 2026.101.23)
-
.NETFramework 5.0
- Hsu.Daemon.Abstractions (>= 2026.101.23)
-
.NETFramework 6.0
- Hsu.Daemon.Abstractions (>= 2026.101.23)
-
.NETFramework 7.0
- Hsu.Daemon.Abstractions (>= 2026.101.23)
-
.NETFramework 8.0
- Hsu.Daemon.Abstractions (>= 2026.101.23)
-
.NETFramework 9.0
- Hsu.Daemon.Abstractions (>= 2026.101.23)
-
.NETStandard 2.0
- Hsu.Daemon.Abstractions (>= 2026.101.23)
-
.NETStandard 2.1
- Hsu.Daemon.Abstractions (>= 2026.101.23)
- .NETCoreApp 3.1: 3.1.0.0
- .NETFramework 5.0: 5.0.0.0
- .NETFramework 6.0: 6.0.0.0
- .NETFramework 7.0: 7.0.0.0
- .NETFramework 8.0: 8.0.0.0
- .NETFramework 9.0: 9.0.0.0
- .NETStandard 2.0: 2.0.0.0
- .NETStandard 2.1: 2.1.0.0
OwnersSeay |
AuthorsHsu |
Project URLhttps://github.com/hsu-net/daemon |
LicenseUnknown |
TagsService Worker Worker Service Windows Service Systemd |
Info54 total downloads |
| 4 downloads for version 2026.101.23 |
| Download (69.56 KB) |
| Download symbols (64.49 KB) |
| Found on the current feed only |
Package history
| Version | Size | Last updated | Downloads | Mirrored? | |||
|---|---|---|---|---|---|---|---|
|
|
2026.101.23 | 69.56 KB | Fri, 23 Jan 2026 06:37:51 GMT | 4 |
|
||
|
|
2026.101.23-preview143234 | 69.81 KB | Fri, 23 Jan 2026 06:33:09 GMT | 5 |
|
||
|
|
2024.103.25 | 20.38 KB | Mon, 25 Mar 2024 04:30:04 GMT | 9 |
|
||
|
|
2024.103.25-preview122740 | 20.43 KB | Mon, 25 Mar 2024 04:28:10 GMT | 7 |
|
||
|
|
2024.103.25-preview110859 | 20.42 KB | Mon, 25 Mar 2024 03:09:25 GMT | 10 |
|
||
|
|
2024.103.25-preview103615 | 20.42 KB | Mon, 25 Mar 2024 02:36:51 GMT | 10 |
|
||
|
|
2023.309.5-preview170442 | 20.41 KB | Tue, 05 Sep 2023 09:05:08 GMT | 9 |
|