CleanStart.Templates
0.1.0
dotnet new install CleanStart.Templates@0.1.0
This package contains a .NET Template Package you can call from the shell/command line.
CleanStart
Beta: This project is under active development and may change.
A dotnet new template that scaffolds a Clean Architecture solution for ASP.NET Core Web API.
The generated solution follows Clean Architecture principles — giving you a production-ready project structure out of the box.
Installation
dotnet new install CleanStart.Templates
Usage
# Create a new project
dotnet new cleanstart -n MyProject -o ./MyProject
# Target a specific .NET version
dotnet new cleanstart -n MyProject --framework net10.0
Parameters
| Parameter | Values | Default |
|---|---|---|
--framework |
net6.0, net8.0, net10.0 |
net8.0 |
--skipRestore |
true, false |
false |
What You Get
A 10-project solution organized into 4 layers:
- Apps — ASP.NET Core host, controllers, Swagger
- Core — Domain entities, repository interfaces, service contracts (zero infrastructure dependencies)
- Infrastructure — EF Core + PostgreSQL, HttpClient abstractions, EF migrations host
- Shared — Exceptions, constants, middleware, API DTOs
Key features included:
- Generic Repository with soft-delete support and paged queries
- Global error handling middleware
- Swagger with XML documentation
- DI extension methods per layer
License
MIT
-
net10.0
- No dependencies.
-
net6.0
- No dependencies.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.1.0 | 221 | 2/14/2026 |