This is a sandbox backend project built with .NET Web API following a clean, modular architecture:
- Api – Web API entry point (controllers / endpoints)
- Application – Business logic, interfaces, CQRS, validation
- Domain – Entities, enums, value objects
- Persistence – EF Core, database access, DbContext
- Infrastructure – External integrations (email, queue, cache, etc.)
This project is designed as a template to quickly bootstrap a new backend using a clean-layered architecture.
sandbox-dotnet-backend/ │── Sandbox.sln │── Api/ # Web API host project │── Application/ # Business logic + interfaces │── Domain/ # Entities, models, core types │── Persistence/ # EF Core DbContext + migrations └── Infrastructure/ # External services (email, files, queues...)
dotnet restoredotnet watch rundocker build -t sandbox-backend-dev -f Dockerfile.dev .docker run -p 8000:8000 -v ${PWD}:/app -v /app/bin -v /app/obj --name sandbox-backend sandbox-backend-dev