x4Trace server can run Plugins.
A server plugin works like a service in the server program.
You can find samples in the x4Trace.Server.UserPlugins.csproj.
This is a sample of ERP communication. Excel files represent the ERP.
The code can be placed here for a background task, such as ERP communication.
The name of the plugin must be unique!
The name is the Plugin's ID in x4Trace. When a Plugin loads, it is identified by this.
To create a new class, it has to inherit from Ix4Trace.Server.Engine.ServerPlugin.Server.ServerPlugin.
The server will create this instance, and it calls the start method.
This method lets you start your own thread to complete your process.
Be careful because if you don't handle an exception, the x4Trace server will close immediately.