A free Clean Architecture template wired up with .NET Aspire. One command boots the database, the API, and the dashboard together, with tracing, health checks, and service discovery already in place.
2,000+ developers already using this
One dotnet run and the whole app comes up healthy.
2,000+
Developers
1
Command to run
.NET 10
Aspire 13.4
Free
Forever
The AppHost is plain C#. It declares the resources and how they connect, and Aspire runs them. Hover a line to see what it does.
No YAML, no compose file to keep in sync. The orchestration is code, refactored and type-checked like the rest of your app.
The whole template is free. Drop your email and it is in your inbox in a minute.
Get the templateServiceDefaults instruments the API and the database driver, so one call to create a todo shows up in the dashboard as a span waterfall.
POST /todos
web-api
CreateTodoCommandHandler
application
SELECT users
npgsql
INSERT todo_items
npgsql
No exporter to wire, no collector to run. The spans are there the first time you press F5.
Aspire orchestration and Clean Architecture on .NET 10, decided and implemented, so day one is spent on your domain.
dotnet run on the AppHost starts the database, the API, and the dashboard together, wired up and in the right order.
ServiceDefaults ships OpenTelemetry logs, traces, and metrics. Every request is a distributed trace in the dashboard, no setup required.
Liveness and readiness endpoints, service discovery, and HTTP resilience handlers are configured for every service by default.
The same layered Domain, Application, Infrastructure, and Web.Api projects, with the dependency rule enforced by architecture tests.
The same app model runs on your machine and deploys to Azure Container Apps or Kubernetes with the Aspire tooling.
Architecture tests enforce the dependency rule, unit tests cover the handlers, and Testcontainers integration tests hit a real database.
The layered projects you already know, plus two Aspire projects that orchestrate them and give every service the same defaults.
Not ready for Aspire? The plain Clean Architecture template is the same layers without the AppHost, and it is also free.
One command, .NET 10, free forever. Orchestration and observability, already wired.
Get the templateThe template lands in your inbox as a ready-to-run solution. No sign-up wall, no upsell required.
dotnet run --project src/Aspire.AppHost. The dashboard, the database, and the API come up together.
Watch resources go healthy, follow a request across its spans, and read structured logs, all in one place.
Aspire is an orchestration and observability layer. The AppHost declares your resources (the database, the API) in C# and starts them together with one command. ServiceDefaults wires OpenTelemetry, health checks, service discovery, and HTTP resilience into every service. The dashboard shows logs, traces, and metrics out of the box.
You need a container runtime like Docker Desktop for the PostgreSQL container the AppHost starts. You do not need Kubernetes to develop. The same app model deploys to Azure Container Apps or Kubernetes later with the Aspire tooling.
It targets .NET 10 with Aspire 13.4. The underlying Clean Architecture is the same layered structure as the non-Aspire template.
It is the Aspire flavor of it. Same Domain, Application, Infrastructure, and Web.Api layers, plus an Aspire.AppHost and Aspire.ServiceDefaults for orchestration and telemetry. If you do not want Aspire yet, the plain Clean Architecture template is also free.
Yes. The template is free forever, and so are the updates. You get an email when a new version ships.
The full Aspire Clean Architecture template, free, in your inbox. Clone it, run one command, and watch it come up.
No credit card. Targets .NET 10 with Aspire 13.4.