my-templates 1.2.2

dotnet new install my-templates@1.2.2
                    
This package contains a .NET Template Package you can call from the shell/command line.

my-templates

Nuget version Nuget downloads

Getting Started

Installation

dotnet new install my-templates

Usage

To generate a new project from this template:

dotnet new hybrid-app -n YourProjectName

Template Options

You can mix and match which parts of the template you want to scaffold using the following flags:

  • --app: Includes the Hybrid Modular Monolith template structure (Core, Application, Infrastructure, Api, AppHost, architecture tests, etc.). Default is true.
  • --scripts: Adds a scripts/ folder with utilities (e.g. code cleanup, user secrets) to the root of your new project. Default is false.
  • --configs: Adds standard repository config files (e.g. .editorconfig, .gitignore) directly to the root of your new project. Default is false.

Examples:

Generate the full app with scripts and configs:

dotnet new hybrid-app -n MyApp --scripts --configs

Generate only the scripts and configs (without the C# application code):

dotnet new repo-files -n MyScriptsRepo

Generate only the scripts:

dotnet new scripts -n MyScriptsRepo

Generate only the configs:

dotnet new configs -n MyConfigsRepo
  • net10.0

    • 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
1.2.2 243 7/3/2026
1.2.1 216 7/2/2026
1.2.0 210 7/1/2026
1.1.4 230 6/27/2026
1.0.0 227 6/27/2026

v1.0.0 - Initial release.
     - Hybrid Modular Monolith with application-owned vertical slices for .NET 10
     - Separate Core, Application, Infrastructure, and Api project boundaries
     - Aspire orchestration (AppHost + ServiceDefaults)
     - Modules: Catalog, Identity, Orders, Notifications
     - Result pattern, FluentValidation endpoint filter, EF Core + SQL Server
     - Architecture tests for dependency direction and slice naming rules
     - Optional --scripts and --configs flags for mix-and-match scaffolding
     - Short repo-files, scripts, and configs templates for app-free scaffolding