Waystone Common contains the foundational code required to create Clean Architecture based .NET 6 applications for Draekien-Industries. It is inspired by this Clean Architecture Template Repository.
In your project / solution, set up the following .csproj
files, replacing Acme
with your project's name:
Acme.Api.csproj
: The API layer of your appAcme.Application.csproj
: The application layer of your appAcme.Domain.csproj
: The domain layer of your appAcme.Infrastructure.csproj
: The infrastructure layer of your app
Take a look at the sample
directory of this repository for an example, or check
out this great video.
Once your projects are set up, install the following NuGet packages according to each layer:
Acme.Api.csproj
: InstallWaystone.Common.Api
and follow the usage instructionsAcme.Application.csproj
: InstallWaystone.Common.Application
and follow the usage instructionsAcme.Infrastructure.csproj
: InstallWaystone.Common.Infrastructure
and follow the usage instructions