Base class with tests for adding specifications to a DDD model
Also, to minimize duplication of code and optimize your architecture i suggest using something like https://github.com/ardalis/Specification
Cross-platform .NET sample microservices and container based application that runs on Linux Windows and macOS. Powered by .NET 6, Docker Containers and Azure Kubernetes Services. Supports Visual Studio, VS for Mac and CLI based environments with Docker CLI, dotnet CLI, VS Code or any other code editor.
I use something very similar to this https://github.com/dotnet-architecture/eShopOnContainers/blob/dev/src/Services/Ordering/Ordering.Domain/SeedWork/IRepository.cs .
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
Need Help Urgent
1 project | reddit.com/r/dotnet | 5 Jun 2022
What to learn next?
1 project | reddit.com/r/dotnet | 8 Apr 2022
Why does every .NET job nowadays require microservices??
1 project | reddit.com/r/dotnet | 1 Feb 2022
CQRS .NET 6
4 projects | reddit.com/r/aspnetcore | 13 Jan 2022
How to improve my skills for the .NET ecosystem? (Microservices, on prem..)
1 project | reddit.com/r/dotnet | 12 Jan 2022