DotNetArch 1.0.1
dotnet tool install --global DotNetArch --version 1.0.1
dotnet new tool-manifest
dotnet tool install --local DotNetArch --version 1.0.1
#tool dotnet:?package=DotNetArch&version=1.0.1
nuke :add-package DotNetArch --version 1.0.1
DotNetArch
DotNetArch is a .NET tool that helps you quickly scaffold a Clean Architecture and Domain-Driven Design (DDD) solution with all necessary layers and configurations. This tool automates the creation of a solution, projects, and layers, making it easy to get started with robust software architectures.
Features
- Scaffolds a full Clean Architecture with DDD principles.
- Automatically creates the necessary layers: API, Application, Domain, Infrastructure.
- Configures projects and references for seamless integration.
- Supports modern .NET versions.
- Minimal setup required.
Installation
To install this tool, run the following command in your terminal or command prompt:
dotnet tool install --global DotNetArch
This will install DotNetArch globally, making it available for use in any project.
Usage
To create a new Clean Architecture and DDD-based solution, run the following command:
dotnet arch
Then Enter <SolutionName>
. SolutionName is the name of the solution you want to create.
This command will generate a new solution with the following structure:
- MyNewProject.sln (Solution File)
- MyNewProject.API (API Layer)
- MyNewProject.Application (Application Layer)
- MyNewProject.Domain (Domain Layer)
- MyNewProject.Infrastructure (Infrastructure Layer)
Contributing
We welcome contributions to improve DotNetArch! If you have suggestions, bug fixes, or improvements, please fork the repository and create a pull request.
To report issues or request features, please open an issue on the GitHub repository.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net9.0 is compatible. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
This package has no dependencies.