Skip to content

Payroll-Engine/PayrollEngine.Core

Folders and files

NameName
Last commit message
Last commit date

Latest commit

d395298 Â· Feb 25, 2025

History

98 Commits
Feb 12, 2025
Feb 25, 2025
Apr 13, 2023
Feb 25, 2025
Jun 2, 2023
Apr 11, 2023
Feb 12, 2025
Feb 12, 2025
Feb 12, 2025

Repository files navigation

Payroll Engine Core

👉 This library is part of the Payroll Engine.

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
  • 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)