my-templates
1.2.2
dotnet new install my-templates@1.2.2
my-templates
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 istrue.--scripts: Adds ascripts/folder with utilities (e.g. code cleanup, user secrets) to the root of your new project. Default isfalse.--configs: Adds standard repository config files (e.g..editorconfig,.gitignore) directly to the root of your new project. Default isfalse.
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.
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