View on GitHub
Clean Architecture Toolkit for .NET
Clean Architecture Toolkit is a clean, modular architecture foundation for .NET applications.
It embraces SOLID principles and focuses on maintainability, testability, and scalability through clear boundaries and pluggable design.

|   HOME   |   MODULE OVERVIEW   |   DEMO   |

Plans for Cat.Templates

dotnet new templates that create a new service with this project structure.
Status: not started. This plan collects what we know. The open questions need an answer before the build.

Contents

The idea

Every service in the architecture is built from the same set of projects, wired the same way. Making a new service by hand means creating up to nine projects, setting the references right and writing the same startup code. A dotnet new template does it in one command.

What we already know

From the root readme:

From the repository:

From the demo plan:

Decisions and open questions

Decided

Topic Decision
Form dotnet new templates.
Content The service project structure of the root readme.
Optional parts Scheduler, EventProcessor, DataAccessTooling and Tests stay optional.

Open

Questions before building

  1. Should it be one template with options, or separate templates?
  2. Which options matter most: workers, code first or database first, tests?
  3. Do you want the template to wire in all the usual modules, or only the minimum?
  4. Which Aspire parts, if any, may the template include?
  5. How do we keep the template and the Catalog demo in sync?
  6. Do we build it from the demo, as the first working example?
  7. Should it create the solution file too, and in which format?
  8. Do we include a Dockerfile and deployment files for Azure Container Apps?
  9. Do we also need templates for single parts, such as a new service request with its handler and validator?
  10. Do you want the template to wait until most of the other future modules exist, so it can include them?