PouryaKit.Templates 0.1.0-preview.2

This is a prerelease version of PouryaKit.Templates.
dotnet new install PouryaKit.Templates@0.1.0-preview.2
                    
This package contains a .NET Template Package you can call from the shell/command line.

PouryaKit.Templates

NuGet .NET 10 License: MIT

PouryaKit.Templates

A dotnet new template package. A new application starts from the Proving Sample's business code in one of its compositions: the monolith, one Module that grows into the modular monolith when a second Module arrives; the modular monolith, several Modules in one Host; and the service, one Module in a Host of its own that receives another Host's Integration Events and Snapshots over RabbitMQ.

Install

dotnet new install PouryaKit.Templates@<version>

Name the version: the template package's version becomes the Kit version every generated project pins. Install the templates gives the published one.

When to use it

  • You start a new application on the Kit.
  • You choose between a monolith, a modular monolith and a service.
  • You grow the monolith into a modular monolith, or split a Module out as a service over RabbitMQ.

A generated solution references the Kit's packages, such as PouryaKit.Modularity and PouryaKit.Web, at the template package's version, and tests itself with PouryaKit.Testing.

Quick start

Generate one solution, by the composition you want:

dotnet new pouryakit-monolith -n Acme.Shop
dotnet new pouryakit-modular-monolith -n Acme.Shop
dotnet new pouryakit-service -n Acme.Stock

Then start PostgreSQL, apply the migrations and run it: Your first Host walks through each step.

What you get

  • The Proving Sample's business code.
  • A Composition Root and endpoint adapters for each composition.
  • A smoke test in every generated solution.
  • The SDK, the test runner, dotnet-ef and csharpier pinned as the Kit pins them.

The generated Host applies no migration at startup and does not start without its bearer settings. Your first Host walks through both.

Learn more

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.1.0-preview.2 79 11/1/2026
0.1.0-preview.1 71 10/31/2026
0.1.0-preview.0.28 91 10/26/2026