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