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.csmicroservices/src/attendance-service/attendance-service.csprojmicroservices/src/attendance-service/Infrastructure/AttendanceDbContext.csmicroservices/src/attendance-service/Infrastructure/OutboxRelayHostedService.csmicroservices/src/attendance-service/Infrastructure/PayrollLockClient.csmicroservices/src/gateway-api/Program.cs
Related Articles
See Also
Keywords
- Attendance Service
- Attendance Service Architecture
Revision Information
- Status: Draft
- Last reviewed: 2026-07-15
- Review cycle: Quarterly