Hmz.Template.Backend.ModularMonolith
0.1.1
dotnet new install Hmz.Template.Backend.ModularMonolith@0.1.1
Hmz Modular Monolith Template
This folder is the canonical dotnet new template source for the Hmz .NET 10 backend.
Layout
modular-monolith/
├── Hmz.Template.Backend.ModularMonolith.csproj # NuGet template pack project
├── README.md # package README
└── content/ # generated project content
├── .template.config/template.json
├── Directory.Build.props
├── Directory.Packages.props
├── Hmz.Template.Backend.slnx
├── src/
├── tests/
└── docs/
The content folder is the source of truth for this template. Do not create another copy under templates/.
The generated solution currently consumes Hmz.Core.SharedKernel 0.1.9-pre09;
publish that prerelease to the configured NuGet feed before generating a project
for normal use. The local smoke workflow can use artifacts/core-feed as an
additional restore source.
Pack
From the repository root:
dotnet pack .\modular-monolith\Hmz.Template.Backend.ModularMonolith.csproj `
--configuration Release `
-p:PackageVersion=0.1.1-preview.9 `
--output .\artifacts\template-pack
Install and generate
$package = Get-ChildItem .\artifacts\template-pack\Hmz.Template.Backend.ModularMonolith.*.nupkg |
Sort-Object LastWriteTime -Descending |
Select-Object -First 1
dotnet new uninstall Hmz.Template.Backend.ModularMonolith
dotnet new install $package.FullName --force
dotnet new hmz-modular-monolith `
--name Acme.Ordering `
--output C:\Repos\Acme.Ordering `
--force
After generation, remove unused bundles from the generated project only. Never delete modules from this content source unless the template itself is intentionally changed.
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.