CleanCodeScaffold 1.0.4

dotnet add package CleanCodeScaffold --version 1.0.4
NuGet\Install-Package CleanCodeScaffold -Version 1.0.4
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CleanCodeScaffold" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CleanCodeScaffold --version 1.0.4
#r "nuget: CleanCodeScaffold, 1.0.4"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CleanCodeScaffold as a Cake Addin
#addin nuget:?package=CleanCodeScaffold&version=1.0.4

// Install CleanCodeScaffold as a Cake Tool
#tool nuget:?package=CleanCodeScaffold&version=1.0.4

CleanCodeScaffold

CleanCodeScaffold project is a Clean Code Architecture template designed for .NET Core 6 and 8. It incorporates essential components such as Identity Framework for user management, a Generic Repository for data access, and Serilog with Seq for robust logging. Ideal for building modular, maintainable, and scalable applications following best practices in software architecture.

Key Features:

Clean Code Architecture: Follows the Hexagonal (Ports and Adapters) Architecture pattern, separating core business logic from external concerns.

Generic CRUD Operations: Provides generic implementations for Create, Read, Update, and Delete operations, allowing you to focus on domain-specific logic.

Dependency Injection: Utilizes .NET Core's built-in Dependency Injection to manage object lifetimes and facilitate loosely coupled components.

Modular Structure: Organized into layers (Presentation, Application, Domain, and Infrastructure) for clear separation of concerns, making it easier to maintain and extend the application.

Testing Support: Designed with testability in mind, allowing you to write unit tests and ensure the reliability of your codebase.

Getting Started:

Choose Your Preferred Approach:

Via NuGet Package:

Install the template using the NuGet package.
dotnet new -i CleanCodeScaffold::1.0.0
Create a new project with the installed template.
dotnet new CleanCodeScaffold -n YourNewProjectName
Run your project.

Via Repository:

Clone the repository to your local machine.
git clone https://github.com/waleed415/CleanCodeScaffold.git
Navigate to the template project within the repository.
cd /CleanCodeScaffold
Install the template.
dotnet new -i .
Create new project using visual studio chose CleanCodeScaffold.

Contributing:

Contributions are welcome! Feel free to fork this repository, open issues, and submit pull requests to help improve the CleanCodeScaffold project.

CleanCodeScaffold

├───src
│ │
│ ├───CleanCodeScaffold.Application (Application Layer)
│ │ ├───Commands (Use Case Commands)
│ │ ├───Queries (Use Case Queries)
│ │ ├───Services (Application Services)
│ │ ├───Mappers (Data Mappers)
│ │ ├───Responses (Response Models)
│ │ └───Authenticators (Authentication Logic)
│ │
│ ├───CleanCodeScaffold.Domain (Domain Layer)
│ │ ├───Entities (Domain Entities)
│ │ ├───ValueObjects (Domain Value Objects)
│ │ └───Interfaces (Domain Interfaces)
│ │
│ ├───CleanCodeScaffold.Infrastructure (Infrastructure Layer)
│ │ ├───Persistence (Database Access, Repositories)
│ │ ├───ExternalServices (External APIs, Third-party Services)
│ │ └───Messaging (Message Brokers, Email Services)
│ │
│ └───CleanCodeScaffold.Api (Presentation Layer - API)
│ ├───Controllers (API Endpoints)
│ ├───Util (Utility classes, helpers, etc.)
│ └───Program.cs (API Entry Point)

└───tools
└───build

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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
1.0.4 455 4/22/2024
1.0.2 181 2/7/2024
1.0.1 141 2/1/2024
1.0.0 125 2/1/2024