dotnet new cli templates to make your life easier.
By creating you project with these templates, you get :
- Layers (Service, Repository and Models)
- Swagger (for WebApi project)
- Entity Framework Core Support (only need to pass your connection string in appsettings file)
- Dependency Injection (Microsoft)
- AutoMapper Configuration
- Fluent Validation
- Docker Support
- Test Project
Build server | Platform | Build status |
---|---|---|
Azure Pipelines | Ubuntu | |
Azure Pipelines | Mac Os | |
Azure Pipelines | Windows |
Install with :
dotnet new -i AkselArzuman.Dotnet.Templates
Creates a web api with Service,Repository and Models layers and Test project. It also includes docker support.
You need to pass project name in order to create the application.
dotnet new netcore-api --projectname=HelloWorld
To see what parameters you can pass :
dotnet new netcore-api --help
Creates an authentication api that gives JWT tokens with Service,Repository and Models layers and Test project. It also includes docker support.
You need to pass project name in order to create the application.
dotnet new netcore-auth --projectname=HelloWorld
To see what parameters you can pass :
dotnet new netcore-auth --help
Creates a console application with Service,Repository and Models layers and Test project. It also includes docker support.
You need to pass project name in order to create the application.
dotnet new netcore-console --projectname=HelloWorld
To see what parameters you can pass :
dotnet new netcore-console --help