Sample Web API implementation with .NET Core and DDD using Clean Architecture.
The solution design focuses on a basic Domain Driven Design techniques and implementation, while keeping the things as simple as possible but can be extended as needed. Multiple assemblies are used for separation of concerns to keep logic isolated from the other components. .NET 7 C# is the default framework and language for this application.
- ITL.Domain - This assembly contains common, entities and interfaces.
- ITL.Application - This assembly contains all services implementations.
- ITL.Infrastructure - This assembly contains the infrastructure of data persistence.
- ITL.API - This assembly is the web api host.
- ITL.Tests - This assembly contains unit test classes based on the NUnit testing framework.
💭 If you are new in Open Source world feel free to check our How to contribute guidelines
Data validation using FluentValidation
- Create empty database, name:
KCTest
. - Execute migrations.
- Set connection string (in appsettings.json or by user secrets mechanism).
- Run .. .
Follow the instructions in README file.
If you like this project, learn something or you are using it in your applications, please give it a star. Thanks! .. .
This project is open source and available under the -> MIT License