HTLLeonding.Utility.Templates 1.5.0

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

HTL Leonding .NET/C# Project Templates

Used to create projects for assignments @HTL Leonding.

Installation

dotnet new install HTLLeonding.Utility.Templates

Updates

Running the install command above again will update the templates package to the latest version.

Usage

Do not forget to update referenced NuGet packages (and potentially .NET version) in the projects after creation!

leoconsole

Console Application

  • Main project + unit test project
    • With solution file
    • Optional --tests false flag can be added to not generate a unit test project
  • Includes .gitignore file
  • Includes .editorconfig file

Syntax: dotnet new leoconsole -n <ASSIGNMNET_NAME> -o . [--tests false]

Example: dotnet new leoconsole -n VendingMachine -o .

leominiapi

Minimal WebAPI (REST) Application

  • Main project, with:
    • Basic libraries
    • JSON Serializer Configuration
    • Prepared DI setup
    • A single demo endpoint
    • OpenApi
  • Meant for development/container internal use (no HTTPS)
  • Includes a http requests file with sample requests
  • Includes .gitignore file
  • Includes .editorconfig file
  • By default binds to port 5200

Syntax: dotnet new leominiapi -n <ASSIGNMENT_NAME> -o .

Example: dotnet new leominiapi -n PoolGuard -o .

leoblazorpages

Blazor WASM Application for GitHub Pages deployment

  • A simple, single project Blazor WASM template
  • Set up to be easily deployed to GitHub Pages with very little manual configuration
    • Pages has to be enabled in GitHub, instructions are in the template readme
  • Demonstrates:
    • Dynamic content and events (buttons)
    • Loading data via HTTP request and showing it in a table
    • CSS isolation
  • Includes .gitignore
  • Includes .editorconfig file
  • By default binds to port 5250
  • HTTPS config removed on purpose (will be HTTPS on GH Pages) to keep the first steps simpler
  • If the repository is owned by an organization (classrooms!) the organization admin has to enable read & write access for actions in the organization settings, otherwise the bot is not allowed to create the gh-pages branch!

Syntax: dotnet new leoblazorpages -n <ASSIGNMENT_NAME> -o .

Example: dotnet new leoblazorpages -n HerbalGarden -o .

  • .NETStandard 2.1

    • 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.5.2 56 11/20/2024
1.5.1 76 11/16/2024
1.5.0 72 11/16/2024
1.4.3 164 9/29/2024
1.4.2 101 9/29/2024
1.4.1 120 9/21/2024
1.4.0 83 9/21/2024
1.3.0 138 9/14/2024
1.2.2 160 8/16/2024
1.2.1 116 8/15/2024
1.2.0 110 8/11/2024
1.2.0-dev1 95 8/11/2024
1.1.0 369 4/3/2024
1.0.13 1,387 2/4/2024
1.0.12 561 6/16/2023
1.0.11 302 4/23/2023
1.0.10 221 4/6/2023
1.0.9 277 3/20/2023
1.0.8 302 2/21/2023
1.0.7 246 2/21/2023
1.0.6 398 12/8/2022
1.0.5 376 11/13/2022
1.0.4 334 11/13/2022
1.0.2 337 11/13/2022
1.0.1 338 11/13/2022
1.0.0 347 11/13/2022