finds.dev← search

// the find

thangchung/clean-architecture-dotnet

★ 1,349 · C# · MIT · updated Apr 2023

🕸 Yet Another .NET Clean Architecture, but for Microservices project. It uses Minimal Clean Architecture with DDD-lite, CQRS-lite, and just enough Cloud-native patterns apply on the simple eCommerce sample and run on Tye with Dapr extension 🍻

A .NET 6 microservices sample showing Clean Architecture, DDD-lite, and CQRS wired together with Dapr and Project Tye. It's aimed at developers who want a concrete starting point for a microservices monorepo and are comfortable with the opinionated stack. This is a learning reference, not a production-ready framework.

The building blocks (N8T.Core, N8T.Infrastructure) are genuinely thin — they add structure without hiding what's happening behind magic. The transactional outbox implementation with Dapr is spelled out explicitly rather than buried in a library. YARP + Dapr service invocation via RestEase is a practical combination you don't see demonstrated together often. The monorepo layout with per-service AppCore/Infrastructure/Api separation is clean and easy to follow.

Dead on arrival for greenfield work: pinned to .NET 6 (EOL), a preview build of Tye (which Microsoft quietly shelved), and Dapr 1.2.0. The Tye dependency is the real blocker — the project has no migration path now that Tye is abandoned. IdentityServer4 is also EOL; the sample ships a hardcoded test user config with no upgrade path noted. Test coverage is effectively zero — no test projects in the tree, so the 'best practices' claim is hard to verify.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →