A template for creating a new microservice with Clean Architecture - DDD, CQRS, MediatR, .NET 8, Entity Framework Core
Install the template:
- Clone this repository.
- 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:
- Create a folder in which you want to add the new project.
- Run
dotnet new microservicetemplate --name "NameOfYourService"
the
name
parameter will replaceMicroserviceTemplate
in the entire project structure