Hmz.Template.Backend.ModularMonolith
0.1.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet new install Hmz.Template.Backend.ModularMonolith@0.1.0
This package contains a .NET Template Package you can call from the shell/command line.
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/.
Pack
From the repository root:
dotnet pack .\modular-monolith\Hmz.Template.Backend.ModularMonolith.csproj `
--configuration Release `
-p:PackageVersion=0.1.0-preview.1 `
--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.