Skip to content

This repository contains .NET Core templates I use in my daily basis projects.

License

Notifications You must be signed in to change notification settings

rellyson/dotnet-templates

Repository files navigation

dotfiles logo

.NET Templates

ansible License

This repository contains .NET Core templates I use in my daily basis projects.

About templates

You can navigate between templates in the src/ folder. Each template has its own README.md file with more information about it.

Setup

You can set your development environment as below:

dotnet tool install -g dotnet-reportgenerator-globaltool
dotnet restore

Running

You can run a specific project as follows:

# Run a project
dotnet run --project src/<project> --no-incremental

# Run in development mode (with hot reload)
dotnet watch --project src/<project> 

Build

You can build a specific project as follows:

Build project

# Using Taskfile
task build

# Or directly with the CLI
dotnet build --no-incremental

Build a container image

# Using Taskfile
task docker-build PROJECT=<project> IMAGE_NAME=<image-name>

# Or directly with Docker
docker build --build-arg PROJECT=<project> -t <image-name> .

# Or even with Podman
podman build --build-arg PROJECT=<project> -t <image-name> .

About

This repository contains .NET Core templates I use in my daily basis projects.

Topics

Resources

License

Stars

Watchers

Forks