Technical overview
Application architecture and reusable capabilities.
Explore the architecture of Application Foundation, how it can be extended and what an implementation needs.
Architecture
The source uses .NET services with Clean Architecture and CQRS patterns. Public HTTP interfaces, internal gRPC and asynchronous messaging establish explicit service boundaries. This architecture does not mean every project needs a microservice deployment.
Identity uses OpenIddict for OAuth2/OpenID Connect. React operator interfaces support administration. A separate Next.js/Payload application provides content administration.
Gateway and client access
The gateway provides a browser-facing HTTP entry point for identity, user, storage, notification and CMS APIs. It handles routing, access integration, CORS, security headers and rate limiting.
Business rules and workflows stay in the services behind it. Internal gRPC calls remain between services; customer policies and provider choices are defined for each project.
File management
The storage service provides uploads, downloads, file metadata, access controls and deletion/restoration workflows. It owns file records and permissions; the configured provider stores the file content. Local storage and Azure Blob providers are available.
Content administration
The separate Payload application has its own administration UI, APIs and MongoDB persistence, with identity integration and content permissions. Its current post model contains a title, text content and publication date, with separate permission to change that date. Broader publishing models and workflows are project-specific work.
Shared engineering capabilities
Roles and permissions, email templates and notification delivery state support application workflows. Shared packages cover persistence, caching, background jobs, messaging and observability. Business behavior, access policies, retention and providers are configured for the application.
Integration and extension
Business workflows, customer interfaces and connections to existing systems are built for the project, using the foundation’s APIs and service boundaries.
Operations and release readiness
OpenTelemetry connects to local Grafana, Prometheus, Loki and Tempo tooling for diagnostics. These assets are distinct from a managed production-monitoring service. Deployment, monitoring thresholds, incident response and support responsibilities must be defined for the project.
Evaluation and ownership
Source access, reusable foundation rights, third-party licences and project-specific deliverables are distinct. A project agreement must define these alongside hosting, support and handover responsibilities.
Application boundaries
Conceptual boundaries. A project selects the capabilities and deployment it needs.
Browser interfaces
HTTP requests through the gateway
Gateway
Routes requests to the relevant application or service.
- Application services
- Identity, users, storage and notifications. Service-owned APIs and data; internal gRPC and messaging connect services. Storage separates file records from provider-held bytes.
- Content application
- Payload administration and content APIs, with identity integration and separate MongoDB content persistence.
Let’s talk about it
Have a technical question?
Ask about the architecture or the work needed for your project.