Runtime Composition and Project Structure
Summary
The extracted runtime is a layered .NET service with PostgreSQL persistence, shared telemetry, external service clients, message relay, and tenant context. The client portal supplies the Recruitment Onboarding and HR Operations user surfaces.
Audience
Developers, QA, support, release engineers, and solution architects.
Runtime composition
Recruitment Service is one .NET web project targeting the verified framework version and referencing shared-kernel and contracts projects. Startup registers tenant context, persistence, repositories, audit/timeline writers, typed Document and Employee clients, optional requisition Workflow client, command/query services, compatibility adapters, JWT processing, health, endpoint discovery, and an outbox background relay.
Development-only migration and seeding behavior exists; production migration ownership remains out of process. Runtime configuration values and infrastructure addresses are intentionally excluded here.
Solution structure
| Location | Responsibility |
|---|---|
Api | Native/public/compatibility endpoint mapping, policies, result translation |
Application | DTOs, commands, queries, mappings, ports, compatibility adapters, requisition Workflow abstraction |
Domain | Aggregates, entities, enums, value objects, domain events, repository ports |
Infrastructure | EF Core context/repositories/unit of work, tenant context, typed clients, gateways, migrations |
Messaging | Hosted outbox relay |
Monolith Controllers and Models | Compatibility onboarding, exit, generic task, notification dispatch |
| Client portal HR pages | Protected onboarding and exit routes, form state, validation, API client calls |
Frontend composition
The React router maps protected Recruitment onboarding and HR Operations exit pages. Navigation visibility combines module/feature metadata, permission labels, and role/audience labels. Frontend protection is not a substitute for backend authorization.
Requires confirmation
- Production dependency topology and readiness requirements.
- Whether development-time migrations and seed behavior are disabled in every production deployment.
- Final frontend ownership when compatibility routing is retired.
Source References
microservices/src/recruitment-service/Program.csmicroservices/src/recruitment-service/recruitment-service.csprojmicroservices/src/recruitment-service/Apimicroservices/src/recruitment-service/Applicationmicroservices/src/recruitment-service/Domainmicroservices/src/recruitment-service/Infrastructuremicroservices/src/recruitment-service/Messaging/OutboxRelayHostedService.csControllers/HrOperationsController.csUI/salary-ui/apps/client-hrms-portal/src/App.tsxUI/salary-ui/apps/client-hrms-portal/src/components/AppLayout.tsx
Related Articles
See Also
Keywords
- Runtime composition
- Project structure
- Client portal
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Review cycle: Quarterly