Justified Code/Clean Architecture Pattern Hands-On

  • $49

Clean Architecture Pattern Hands-On

  • Course
  • 22 Lessons

This course builds a .NET solution from scratch using the clean architecture pattern. It aims to create loosely coupled components that can be tested independently with no dependencies on data stores, message brokers or UIs. This pattern helps prevent technology lock-in. It covers folder setup, core domain logic (anemic vs. rich), use case orchestration, and plugin gateways implementing core interfaces.

Contents

Module 1 - Code Structure

Component Architecture
  • 2 mins
  • 7.95 MB
Folders and Layers
  • 5 mins
  • 32.9 MB
Preview

Module 2 - Rich Domains

Use Case
  • 2 mins
  • 7.44 MB
Preview
Stupid Domains
  • 2 mins
  • 17.9 MB
Enriching The Domains
  • 3 mins
  • 36.3 MB

Module 3 - Application Layer

Request and Response Models
  • 3 mins
  • 22.6 MB
Database Gateway Interface
  • 2 mins
  • 14 MB
Messaging Gateway Interface
  • 2 mins
  • 15.8 MB
Ordering Service
  • 5 mins
  • 54.6 MB
The Heart Of The System
  • 2 mins
  • 31.3 MB

Module 4 - Unit Tests In Isolation

Order Item Tests
  • 3 mins
  • 17.1 MB
Order Tests
  • 3 mins
  • 35.7 MB
Ordering Service Tests
  • 5 mins
  • 75.5 MB

Module 5 - Gateways

Data Layer
  • 4 mins
  • 57 MB
Messaging Layer
  • 3 mins
  • 29.3 MB
Flow Of Control
  • 6 mins
  • 63.6 MB

Module 6 - Final Thoughts

Summary
  • 1 min
  • 5.83 MB
Preview

Bonus

Setup Demo
  • 4 mins
  • 33.6 MB
depedency_inversion_code.zip
  • 33.8 MB
docker-compose.yml
  • 1.5 KB
postgres_db.sql
  • 749 Bytes
Dependency Inversion Hands-On.pdf
  • 790 KB