Skip to content

lucasdsalves/console-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a .NET 6 console app template ready to run.

Project technologies

  • .NET 6
  • Console Application
  • Dependency Injection
  • Use of AppSettings
  • Use of HostedService / CancellationToken
  • Prerequisites: .NET 6 Runtime, Visual Studio / Visual Studio Code

Project structure

ConsoleApp: the console app itself, with DI config, Program and hosted service;
Application: services and interfaces;
Data: Data and core entities persistence layer;
Tests: Tests layer.

For someday reminder: Example of project creation using CLI (folders src and tests)

dotnet new sln
dotnet new classlib -o src/TemplateApp.Domain
dotnet new xunit -o tests/Domain.UnitTests
dotnet sln add src/TemplateApp.Domain
dotnet sln add tests/Domain.UnitTests

Releases

No releases published

Packages

No packages published

Languages