Production-Ready
Modular Monolith Template for .NET
Join 5,000+ developers using my template β¨
Get proven, well-structured template for building maintainable Modular Monolith applications in .NET.
ASP.NET Core Web API, EF Core, PostgreSQL, Authentication and Authorization, OpenTelemetry, FluentValidation, Swagger, Docker, and more.
β° Stop wasting weeks setting up projects.
π Start building production features day 1 with a ready .NET template.
β‘ Productivity
Skip all the boilerplate β start with a fully configured Modular Monolith .NET template so you can focus on delivering business value from day one.
Project is ready to run in Docker in one-click with a fully configured database and external dependencies.
ποΈ Architecture
Built with .NET industry best practices and patterns: Vertical Slice Architecture combined with Clean Architecture.
OpenTelemetry, Authentication & Authorization with JWT and Refresh Tokens, Validation, Logging, Error Handling and Tests out of the box. This is exactly what you need to build a production-ready application.
Key Highlights
- Vertical Slices: Features are organized by business functionality rather than technical layers
- Clean Architecture: Core domain is isolated from infrastructure concerns
- Minimal Dependencies: No AutoMapper, MediatR or other unnecessary 3rd party packages
- CQRS with Manual Handlers: Clean, explicit, testable use case implementations
- Manual Mapping & Result Pattern: No 3rd party packages required
π§ Technology
Libraries
- FluentValidation: Fluent, strongly-typed rules
- EF Core: Robust ORM with clear separation of persistence concerns
- ASP.NET Core Minimal APIs: Lightweight, high-performance endpoints
- OpenTelemetry: End-to-end tracing & metrics
- Swagger/OpenAPI: Interactive API docs
Docker Integration
- PostgreSQL, Seq, Jaeger
β Quality
Coding Standards
- .editorconfig: Consistent style
- Static Code Analysis Automated quality checks
- Central Package Management: Unified dependencies
Unit, Integration and Architecture Tests
- xUnit, NSubstitute, Testcontainers, Respawn, NetArchTest.Rules
- FluentAssertions is not being used
π§© Architecture
Discover each self-contained module β how it's structured, how modules communicate, and how you can extend it to fit your own domain.
- Users Module: JWT authentication and authorization flows
- Shipments Module: End-to-end shipment lifecycle management
- Carriers Module: Carrier lookup and integration patterns
- Stocks Module: Inventory tracking and availability checks