Workflow Project Structure
Summary
Workflow Service is one SDK-style web project included in the microservices solution and targeting .NET 8.
Verified structure
| Area | Responsibility |
|---|---|
Api | Minimal endpoint mapping, application-result translation and policy catalog |
Application | Inputs/DTOs, mappings, commands, queries, ports and result helpers |
Domain | Aggregates, entities, enums, repository contracts and domain events |
Infrastructure | EF Core context, repositories, tenant adapter, writers, unit of work, migrations and development seed |
Messaging | Integration-event contracts and hosted outbox relay |
Program.cs | Runtime composition and middleware |
| Project files | Framework, packages, configuration shape and container build |
Dependencies
The project references the shared kernel and contracts. Package references cover JWT bearer authentication, EF Core, the PostgreSQL provider, OpenAPI and Swagger generation.
Frontend boundary
The portal source is a separate application. It uses shared API transport and does not share Workflow domain assemblies.
Limitations
There are no Workflow-specific test projects, separate application assemblies or independently deployable engine workers.
Requires Confirmation
Assembly-splitting plans, package ownership and future engine extensibility require confirmation.
Source References
microservices/src/workflow-service/workflow-service.csprojmicroservices/HrSuit.Microservices.slnmicroservices/src/workflow-service/Program.cs
Related Articles
See Also
Keywords
Workflow architecture, approval engine, Workflow Service, technical foundation.
Revision Information
- Status: Draft
- Last reviewed: 2026-07-20
- Next review: 2026-10-20