Clean Architecture .NET Core (Part 1: Introduction)

What is Clean Architecture?

Image courtesy :
Image courtesy :

Entities : Encapsulate enterprise wide business rules.

Use cases : Contains application specific business rules.

Gather Info for New Loan Input: Name, Address, Birthdate, etc.
Output: Same info + credit score
Rules:1.Validate name
2.Validate address, etc.
3.Get credit score
4.If credit score < 500 activate Denial
5.Else create Customer (entity) and activate Loan Estimation

Interface Adapters : Convert data from the format most convenient for the use cases and entities.

Frameworks and Drivers : Where all the I/O components go.

Crossing boundaries

Dependency Inversion Principle (DIP)

What data crosses the boundaries?


Up Next..

Systems Design • Social Innovation • Cloud • ML