ZeroAlloc.Templates
dotnet new Web API templates for the ZeroAlloc.* ecosystem.
Both templates are source-generated and publish as Native AOT.
dotnet new install ZeroAlloc.Templates
| Short name | Architecture | Tour |
|---|---|---|
za-clean | Clean Architecture: four layered projects with enforced boundaries | za-clean |
za-vertical-slice | Vertical Slice Architecture: one project, one folder per use case | za-vertical-slice |
The two templates share the same domain, packages and test and benchmark fan-out. They differ in how the code is arranged, so pick the one your team finds easier to work in.
Benchmarks holds the benchmark reports behind the performance figures, and the runbooks for producing them.
The README lists which ZeroAlloc package handles each concern in the generated solution.