SOLOTech.MaxCore 1.2.0
MAX Core API
This package allows to get Object Data (parts and assemblies) and Settings from MAX Core.
Usage
Install this nuget package and then add it to the application using Dependency Injection configuration:
builder.Services.AddMaxCore();
If the MAX Core backend runs in an endpoint different of http://localhost:5000, you have to add a setting to your appsettings.json file with the name "CoreBackendURL" and the endpoint address
Services
MonitorService
Monitor service allow to send monitor messages to support team via slack. To use it, just inject IMonitorService using dependency injection. Example:
await _monitorService.PublishAlertAsync("INSP", "ATENTION: The server is running out of storage space")
Note: the first parameter must be the module code as specified in the modules table of MAX Core.
Settings Service
ObjectDataService
No packages depend on SOLOTech.MaxCore.
.NET 8.0
- Microsoft.Extensions.Configuration (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.0)
- Microsoft.Extensions.Logging (>= 8.0.0)
- Newtonsoft.Json (>= 13.0.3)