System.Utility.Commons.Core.ServiceBaseController
1.0.0.1
Requires NuGet 2.0 or higher.
dotnet add package System.Utility.Commons.Core.ServiceBaseController --version 1.0.0.1
NuGet\Install-Package System.Utility.Commons.Core.ServiceBaseController -Version 1.0.0.1
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="System.Utility.Commons.Core.ServiceBaseController" Version="1.0.0.1"> <PrivateAssets>all</PrivateAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets> </PackageReference>
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add System.Utility.Commons.Core.ServiceBaseController --version 1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: System.Utility.Commons.Core.ServiceBaseController, 1.0.0.1"
#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 System.Utility.Commons.Core.ServiceBaseController as a Cake Addin #addin nuget:?package=System.Utility.Commons.Core.ServiceBaseController&version=1.0.0.1 // Install System.Utility.Commons.Core.ServiceBaseController as a Cake Tool #tool nuget:?package=System.Utility.Commons.Core.ServiceBaseController&version=1.0.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
win 服务集成组件
具有以下特性:
1、安装时可以读取配置文件服务名称及注释
2、集成了安装服务API
3、实现简单集成服务
4、可以在调试下加“-s”参数实现 调试进 OnStart 方法内
如:
/// <summary>
/// 应用程序的主入口点。
/// </summary>
public static void Main(string[] args)
{
using (ServiceBaseUtility setting = new ServiceBaseUtility())
{
if (!string.IsNullOrWhiteSpace(setting.ServiceName))
{
//系统用于标志此服务名称(唯一性)
ServiceBaseController.State<Service1>(setting.ServiceName, args);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- System.Utility.Commons.Core.Log.dll (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.