Karls.Templates 1.4.3

There is a newer version of this package available.
See the version list below for details.
dotnet new install Karls.Templates::1.4.3                
This package contains a .NET Template Package you can call from the shell/command line.

Karls Opinionated Templates NuGet version (Karls.Templates)

This repository contains a collection of templates for the dotnet new command based on my own preferences.

This might not be overly useful for you, but it was a fun experiment and this repo at lest shows of some of the features available when creating your own templates.

Installing

Just run the following command to install the templates.

dotnet new install Karls.Templates

If you have them installed and need to update them you can run the above command again.

Or simply this to update all template packages (which is often a good idea).

dotnet new update

Templates

Opinionated Solution

This template creates a solution with a single Core project (+tests) and some default settings based on my own preferences.

dotnet new karls-solution -n Company.CoolProject

Since version 1.4.0 a flag can be passed to also generate a frontend project based on Vite and other tools. To have this just pass --addFrontendProject when creating the project.

dotnet new karls-solution -n CoolProject --addFrontendProject

The project per default includes a set of Github Actions workflows. If another CI tool is to be used these can be skipped by setting includeGithubActions to false. This will still add a depenadbot configuration though since I host all my projects on Github.

dotnet new karls-solution -n CoolProject --includeGithubActions=false

To see available options, run this.

dotnet new karls-solution --help

References

Includes an adapted version of https://github.com/hrvey/combine-prs-workflow/

  • .NETStandard 2.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.4.19 37 11/15/2024
1.4.17 88 10/14/2024
1.4.16 92 9/23/2024
1.4.15 102 9/17/2024
1.4.14 104 9/4/2024
1.4.13 108 8/26/2024
1.4.12 134 7/17/2024
1.4.11 111 7/8/2024
1.4.10 106 7/1/2024
1.4.9 129 6/19/2024
1.4.8 105 6/18/2024
1.4.7 134 6/8/2024
1.4.6 178 4/30/2024
1.4.5 99 4/22/2024
1.4.4 110 4/22/2024
1.4.3 114 4/17/2024
1.4.2 164 4/16/2024
1.4.1 180 4/12/2024
1.4.0 213 4/4/2024
1.3.3 1,934 1/12/2024
1.3.0 1,040 12/10/2023
1.2.0 303 12/5/2023
1.1.7 406 8/30/2023
1.1.6 294 8/14/2023
1.1.5 193 7/11/2023
1.1.4 200 5/14/2023
1.1.2 366 3/2/2023
1.1.1 314 1/21/2023
1.1.0 276 12/31/2022
1.0.0 257 12/28/2022