This project is a .NET 9 API implementation following the Clean Architecture principles. It incorporates CQRS, MediatR, Fluent Validation, and other best practices to create a modular, scalable, and maintainable API.
.NET 9 - Latest .NET framework version
CQRS - Command and Query Responsibility Segregation pattern
MediatR - Decoupled request handling
Fluent Validation - Elegant and powerful validation
Entity Framework Core - ORM for database interactions
Clean Architecture - Layered architecture for maintainability
โ Command & Query pattern implementation
โ Centralized validation with Fluent Validation
โ MediatR-based request handling
โ Layered architecture for maintainability
โ Custom exception handling middleware
โ Advanced Repository Implementation (Synchronous & Asynchronous)
โ Dynamic Search Implementation
โ Automapper-based Request-Response Mapping
โ Best Practice-Oriented Entity Framework Implementation
โ Advanced Caching (InMemory & Redis Cache)
โ Logging with Serilog
๐ฆNET9_Clean_Architecture_CQRS_API
โฃ ๐Application # Business logic and use cases (CQRS, MediatR, Validation)
โฃ ๐Domain # Entities and core domain logic
โฃ ๐Infrastructure # Data access, external services, and configurations
โฃ ๐Persistence # Database interactions, EF Core implementations
โ ๐WebApi # API controllers, middlewares, and startup configurations
This project is developed based on Engin Demiroฤ's "C# .NET Core Clean Architecture & CQRS Project Infrastructure" course. The project closely follows the content of the course, and I replicated the project as demonstrated by the instructor.