Skip to content

jurczewski/ConsoleApp-Dotnet-Template

Repository files navigation

📝 ConsoleApp-Dotnet-Template

Build and test [CI] License: MIT Linkedin

"Buy Me A Coffee"

Production-ready .NET 10 console app starter - skip the boilerplate, start with a solid foundation.

🔧 How to setup?

  1. Create a new repository using this template
  2. Replace ProjectName with your project name - renames everything in one shot

⚗️ Features

  • Serilog - structured console logging with ANSI color theme, ready to go
  • Figgle - ASCII banner on startup (Doom font)
  • appsettings.json - typed Settings class bound via IOptions pattern
  • CI - GitHub Actions & Azure Pipelines, daily NuGet vulnerability scan, Dependabot
  • xUnit v3 + AwesomeAssertions + AutoFixture + Moq - full test stack wired up
  • Central Package Management - all NuGet versions in Directory.Packages.props

🗂️ Structure

├── src/ProjectName/
│   ├── Infrastructure/
│   │   ├── Logger.cs          # Serilog setup
│   │   └── Settings.cs        # typed config class
│   ├── appsettings.json
│   └── Program.cs
├── tests/ProjectName.UnitTests/
│   └── Test1.cs
├── .github/workflows/         # GitHub Actions
│   ├── build.yaml
│   └── nuget-vulnerability-scan.yml
├── .azuredevops/              # Azure DevOps Pipelines
│   ├── azure-pipelines.yml
│   ├── nuget-vulnerability-scan.yml
│   └── renovate.yml
├── scripts/
│   ├── rename-all.ps1         # Windows rename helper
│   └── rename-all.sh          # Linux/macOS rename helper
└── Directory.Packages.props   # central NuGet versions

About

Production-ready .NET 10 console app starter - skip the boilerplate, start with a solid foundation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Contributors