Skip to main content

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 nameArchitectureTour
za-cleanClean Architecture: four layered projects with enforced boundariesza-clean
za-vertical-sliceVertical Slice Architecture: one project, one folder per use caseza-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.