Trellis.Templates 0.2.0

dotnet new install Trellis.Templates@0.2.0
                    
This package contains a .NET Template Package you can call from the shell/command line.

Trellis.Templates

A rich-DDD, Clean Architecture .NET 10 solution template. Like its namesake — the lattice a gardener puts up for climbing plants — Trellis is the load-bearing frame your application grows over: it shapes the structure, then fades from view as your features fill it in.

dotnet new install Trellis.Templates
dotnet new trellis -n Your.Project

Documentation: https://revazi1st.github.io/Trellis/

Name it with dot-separated parts made of letters and digits (Acme.Shop): hyphens, spaces and underscores become underscores in namespaces, which fail analyzer rule CA1707.

Toggles (checkboxes in Visual Studio / Rider, flags on the CLI):

Flag Default What it adds
--include-ui on Blazor web UI (UI.Common + UI.Web), orchestrated by Aspire
--use-redis off A Redis-protocol distributed cache (Valkey by default) as a HybridCache L2
--use-serilog off Serilog structured logging (console) alongside OpenTelemetry
--use-multitenancy off Tenant seam: tenant claim on the principal, TenantId column + "Tenant" query filter on every aggregate root (regenerate the initial migration once before the first run)
--include-ui-tests off Playwright browser tests for the Blazor UI (opt-in at run time)
--skip-restore off Skip the automatic dotnet restore

Feature-based minimal APIs, separate Infrastructure and Persistence, hand-rolled CQRS + Result, EF Core 10, ASP.NET Identity + JWT, a transactional outbox, idempotent writes, Aspire orchestration, and an AI-friendly repository (CLAUDE.md/AGENTS.md, .claude rules/agents/skills).

The generated project gets its own README and an empty CHANGELOG, plus .trellis-template.json recording this package's version and the options you chose; its docs/upgrading.md uses that file to adopt a later version. Release notes: https://github.com/Revazi1st/Trellis/blob/main/CHANGELOG.md. Credits for the ideas the template borrows: https://github.com/Revazi1st/Trellis#credits.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.2.0 118 11/15/2026
0.1.1 158 10/25/2026
0.1.0 146 10/25/2026