MTConnect.NET-Services 7.2.0.105-prerelease

This is a prerelease version of MTConnect.NET-Services.
There is a newer version of this package available.
See the version list below for details.
dotnet add package MTConnect.NET-Services --version 7.2.0.105-prerelease
                    
NuGet\Install-Package MTConnect.NET-Services -Version 7.2.0.105-prerelease
                    
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="MTConnect.NET-Services" Version="7.2.0.105-prerelease" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MTConnect.NET-Services" Version="7.2.0.105-prerelease" />
                    
Directory.Packages.props
<PackageReference Include="MTConnect.NET-Services" />
                    
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 MTConnect.NET-Services --version 7.2.0.105-prerelease
                    
#r "nuget: MTConnect.NET-Services, 7.2.0.105-prerelease"
                    
#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.
#:package MTConnect.NET-Services@7.2.0.105-prerelease
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=MTConnect.NET-Services&version=7.2.0.105-prerelease&prerelease
                    
Install as a Cake Addin
#tool nuget:?package=MTConnect.NET-Services&version=7.2.0.105-prerelease&prerelease
                    
Install as a Cake Tool

MTConnect.NET Logo

MTConnect.NET-Services

Classes to run Agent and Adapter applications as a Windows Service

Overview

This library contains two abstract classes that derive from System.ServiceProcess.ServiceBase:

  • MTConnectAgentService : Override StartAgent(string configurationPath) and StopAgent() to start and stop an Agent when the Windows Service is started and stopped
  • MTConnectAdapterService : Override StartAdapter(string configurationPath) and StopAdapter() to start and stop an Adapter when the Windows Service is started and stopped

Both classes also contain the InstallService(), RemoveService(), StartService(), and StopService() methods used to manage the Windows Service, and the OnLogInformation(), OnLogWarning(), and OnLogError() methods that can be overridden to handle log messages. The service methods only run on Windows.

Usage

using MTConnect.Services;

public class AgentService : MTConnectAgentService
{
    protected override void StartAgent(string configurationPath)
    {
        // Start the Agent
    }

    protected override void StopAgent()
    {
        // Stop the Agent
    }
}
var service = new AgentService();

// Install and Start the Windows Service
service.InstallService();
service.StartService();

// Run as a Windows Service (when the application is started by the Service Control Manager)
System.ServiceProcess.ServiceBase.Run(service);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 is compatible.  net472 is compatible.  net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on MTConnect.NET-Services:

Package Downloads
MTConnect.NET-Applications-Agents

MTConnect.NET-Applications-Agents contains classes to fully implement an MTConnect Agent application. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10

MTConnect.NET-Applications-Adapter

MTConnect.NET-Applications-Adapter contains classes to fully implement an MTConnect SHDR Adapter application. Supports MTConnect versions up to 2.7. Supports .NET Framework 4.6.1 up to .NET 10

MTConnect.NET-Applications-Adapters-SHDR

MTConnect.NET-Applications-Adapters-SHDR contains classes to fully implement an MTConnect SHDR Adapter application. Supports MTConnect Versions up to 2.1. Supports .NET Framework 4.6.1 up to .NET 7

MTConnect.NET-Applications-Agents-MQTT

MTConnect.NET-Applications-Agents-MQTT contains classes to implement the MQTT Protocol in an MTConnect Agent application. Supports MTConnect Versions up to 2.1. Supports .NET Framework 4.6.1 up to .NET 7

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
7.2.0.105 170 11/21/2026
7.2.0.105-prerelease 156 11/21/2026
7.2.0.103-prerelease 167 11/20/2026
7.0.0.2-prerelease 272 6/26/2026
6.9.0.2 851 10/16/2025
6.8.0 383 9/13/2025
6.7.0 576 6/22/2025
6.6.0 534 1/18/2025
6.5.1 418 12/3/2024
6.5.0 502 10/21/2024
6.4.7 408 8/21/2024
6.4.6 416 8/7/2024
6.4.5 350 8/2/2024
6.4.4 380 7/16/2024
6.4.3 474 6/14/2024
6.4.2 379 6/12/2024
6.4.1 419 5/17/2024
6.4.0 397 5/14/2024
6.3.2-beta 284 5/2/2024
6.3.1-beta 25,047 4/24/2024
Loading failed