Implementing a Clean Architecture in ASP.NET Core 6

This page summarizes the projects mentioned and recommended in the original post on dev.to

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • MediatR

    Simple, unambitious mediator implementation in .NET

    My secondary goal was to abstract away concepts like domain events, CQRS and event sourcing from dependencies on specific implementations – or even other abstractions brought by some well-known packages – such as MediatR, MassTransit, EventStore etc.

  • CleanArchitecture

    Clean Architecture Solution Template: A starting point for Clean Architecture with ASP.NET Core (by ardalis)

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • xUnit

    xUnit.net is a free, open source, community-focused unit testing tool for .NET.

    xUnit

  • eShopOnContainers

    Discontinued Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 7, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor. Moved to https://github.com/dotnet/eShop.

  • Redis

    Redis is an in-memory database that persists on disk. The data model is key-value, but many different kind of values are supported: Strings, Lists, Sets, Sorted Sets, Hashes, Streams, HyperLogLogs, Bitmaps.

    Add support for caching, with an implementation for Redis

  • CleanArchitecture

    Clean Architecture Solution Template for ASP.NET Core

  • MassTransit

    Distributed Application Framework for .NET

    My secondary goal was to abstract away concepts like domain events, CQRS and event sourcing from dependencies on specific implementations – or even other abstractions brought by some well-known packages – such as MediatR, MassTransit, EventStore etc.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • blazor-starter-kit

    Clean Architecture Template for Blazor WebAssembly Built with MudBlazor Components.

  • AutoMapper

    A convention-based object-object mapper in .NET.

    AutoMapper

  • GuardClauses

    A simple package with guard clause extensions.

    GuardClauses

  • Moq

    Discontinued Repo for managing Moq 4.x [Moved to: https://github.com/moq/moq]

    Moq

  • CH.CleanArchitecture

    My personal take on Clean Architecture (.NET8)

    The repository for the source code of this solution can be found here. The solution includes an extremely basic domain model for an online shop application, as an example. The UI part for this is not included however. The order domain exists to simply showcase the different elements of the architecture.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts