Using NetArchTest library to enforce architecture rules
In this demo, i m using NetArchTest library in order to check layers dependencies :
Api
depends onDomain
andInfrastructure
Infrastructure
depends onDomain
Domain
depends on nothing
Tools
: net 8.0, netarchtest, nunit, fluent-assertions