Skip to main content

Attendance Service Architecture

Summary​

Attendance Service is a .NET 8 ASP.NET Core service organized around the Attendance bounded context and a transitional Time Office slice.

Audience​

Developers, QA and DevOps engineers, support engineers, security engineers, and solution architects.

Overview​

The presentation boundary uses minimal APIs. Application services orchestrate commands, queries, workflows, DTO mapping, and ports. Domain types hold attendance and Time Office invariants and calculation. Infrastructure implements EF Core/PostgreSQL persistence, tenant filters, audit/timeline storage, Payroll lock access, and the transactional outbox. The Shared Kernel supplies messaging, correlation, and OpenTelemetry wiring; Contracts supplies integration-event types.

Gateway-controlled ownership, compatibility adapters, backfill tooling, and legacy Leave/Payroll composition make current maturity Transitional.

Source References​

  • microservices/src/attendance-service/Program.cs
  • microservices/src/attendance-service/attendance-service.csproj
  • microservices/src/attendance-service/Infrastructure/AttendanceDbContext.cs
  • microservices/src/attendance-service/Infrastructure/OutboxRelayHostedService.cs
  • microservices/src/attendance-service/Infrastructure/PayrollLockClient.cs
  • microservices/src/gateway-api/Program.cs

See Also​

Keywords​

  • Attendance Service
  • Attendance Service Architecture

Revision Information​

  • Status: Draft
  • Last reviewed: 2026-07-15
  • Review cycle: Quarterly