Skip to content

RondineleG/CleanArchitecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

127 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ—οΈ Clean Architecture Template

A simple ASP.NET Core solution implementing Clean Architecture principles without external libraries like MediatR, AutoMapper, or FluentValidation. Built with native C# capabilities for clarity and maintainability.

Based on: CleanArchitecture.WebApi by Mukesh Murugan
Updated: Modernized and removed external dependencies for a cleaner, simpler approach

🎯 Architecture Overview

src/
β”œβ”€β”€ Domain/              # Core business logic (entities, value objects)
β”œβ”€β”€ Application/         # Use cases, DTOs, service interfaces
β”œβ”€β”€ Infrastructure.Identity/      # ASP.NET Core Identity integration
β”œβ”€β”€ Infrastructure.Persistence/   # Entity Framework Core data access
β”œβ”€β”€ Infrastructure.Shared/        # Cross-cutting concerns
└── WebApi/             # Controllers and API configuration

✨ Key Features

  • No External Abstractions: Direct service calls, manual mapping, domain validation
  • Clean Dependencies: Outer layers depend on inner layers only
  • Native C# Only: Uses built-in .NET capabilities
  • Security Ready: ASP.NET Core Identity with JWT support
  • Testable: Easy unit and integration testing

πŸ› οΈ Stack

  • Framework: ASP.NET Core 8+
  • Database: Entity Framework Core + SQL Server
  • Authentication: ASP.NET Core Identity
  • Documentation: Swagger/OpenAPI

License: MIT | Focus: Simplicity over complexity

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages