Multiple UI Options
Choose Angular or React for a full-stack application, or go API-only for a lightweight backend. Authentication is pre-configured for each option, and TypeScript API clients are auto-generated for Angular and React frontends.
A production-ready Clean Architecture solution template built with ASP.NET Core Minimal API, Entity Framework Core, and Aspire. Includes a Web API backend with an optional Angular or React frontend.
dotnet new install Clean.Architecture.Solution.Template Stop configuring boilerplate. Start building features.
Choose Angular or React for a full-stack application, or go API-only for a lightweight backend. Authentication is pre-configured for each option, and TypeScript API clients are auto-generated for Angular and React frontends.
Choose SQL Server, PostgreSQL, or SQLite at project creation. Entity Framework Core handles database initialisation out of the box — swap databases without changing application code.
Every feature lives in its own folder with a command or query, a validator, and a handler — no bloated service classes. Built around vertical slices, the included samples show exactly how to structure new use cases from day one.
Every request is automatically validated, authorised, logged, and performance-monitored through a pre-wired pipeline of behaviours. Validation failures return consistent Problem Details responses — no manual wiring required.
Unit, integration, functional, and acceptance tests are included and ready to run. Functional tests hit a real database with Respawn for isolation; acceptance tests drive the full stack with Playwright and Aspire. CI runs everything from day one.
Press F5 to start the entire stack — API, database, and frontend boot together, orchestrated by Aspire. Deploy anywhere with consistent deployments, and built-in OpenTelemetry delivers logs, traces, and metrics with zero setup.
Three commands to a production-ready solution structure.
$ dotnet new install Clean.Architecture.Solution.Template $ dotnet new ca-sln -cf react -db sqlserver -o .\MyApp $ cd MyApp && dotnet run --project .\src\AppHost Free, open source, and actively maintained. Installed 500+ times every day by .NET developers worldwide.