Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 934 Bytes

File metadata and controls

19 lines (13 loc) · 934 Bytes

.NET

CleanArchitecture microservice template

A template for creating a new microservice with Clean Architecture - DDD, CQRS, MediatR, .NET 8, Entity Framework Core

Installation and usage

Install the template:

  1. Clone this repository.
  2. Using your favourite CLI run dotnet new -i .\MicroserviceTemplate

if it was succesfully installed then you can see it in the template list under 'microservicetemplate' short name by running dotnet new -l

Use the template:

  1. Create a folder in which you want to add the new project.
  2. Run dotnet new microservicetemplate --name "NameOfYourService"

the name parameter will replace MicroserviceTemplate in the entire project structure