Skip to content
ProjectsTask Management Application

To-Do List with .NET Core and Clean Architecture

A modular task management API using Clean Architecture, CQRS and FluentValidation.

Source Code
Project screenshot · To-Do List with .NET Core and Clean Architecture
Enlarge image
Open full size

A maintainable and testable ASP.NET Core task management application. Clean Architecture defines the layers, CQRS separates reads and writes, FluentValidation centralizes validation and AutoMapper handles object mapping.

Architecture

  • Domain: business rules and core models.
  • Application: CQRS handlers, validation and mapping.
  • Infrastructure: Entity Framework Core and repository/unit-of-work data access.
  • Presentation: REST endpoints, consistent responses and error handling.

Features

  • Create, read, update and delete tasks.
  • Validated request models and consistent response structures.
  • Loosely coupled interfaces and testable handlers.
  • A foundation that can be extended with tags, date filters and authentication.

Technologies

ASP.NET Core Web API, Entity Framework Core, CQRS, FluentValidation and AutoMapper.

Authentication, logging, caching and pagination can be added as future extensions.