https://github.com/payroll-engine/payrollengine.core
Payroll Engine Core Library
https://github.com/payroll-engine/payrollengine.core
csharp dotnet mit-license nuget
Last synced: about 1 month ago
JSON representation
Payroll Engine Core Library
- Host: GitHub
- URL: https://github.com/payroll-engine/payrollengine.core
- Owner: Payroll-Engine
- License: mit
- Created: 2023-04-03T15:17:19.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2026-01-14T07:20:53.000Z (2 months ago)
- Last Synced: 2026-01-17T11:20:26.077Z (2 months ago)
- Topics: csharp, dotnet, mit-license, nuget
- Language: C#
- Homepage:
- Size: 489 KB
- Stars: 1
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Payroll Engine Core
👉 This library is part of the [Payroll Engine](https://github.com/Payroll-Engine/PayrollEngine/wiki).
The Payroll Engine core library, used by any other component:
- Payroll exceptions
- Logger abstraction `ILogger`
- Document abstraction for reports `IDataMerge`
- Value conversion
- Common types and extension methods
- JSON and CSV serialization
- Payroll `DataSet` convertible to the ADO.NET [`DataSet`](https://learn.microsoft.com/en-us/dotnet/framework/data/adonet/ado-net-datasets)
- Program Configuration from system environment and configuration files
## Configuration
### Http Client Configuration
The Payroll HTTP configuration includes the following data to connect to the backend:
- `BaseUrl` - the base API URL (required)
- `Port` - the base API port
- `Timeout` - the connection timeout
- `ApiKey` - the API access key
### Database connection string
The backed database connection string is determined by the following priority:
1. Environment variable `PayrollDatabaseConnection`.
2. Program configuration file `appsettings.json`.
## Build
Supported runtime environment variables:
- *PayrollEnginePackageDir* - the NuGet package destination directory (optional)