Patterns - MarcosPiedra/CalculatorService GitHub Wiki
MVC:
- Used in ASP.Net core, in this case It just needs to define the controllers and their logic.
DI:
- Using ServiceCollection to inject the components or services. All the components are injected by constructor.
DTOs:
- Declared in the layer for communication purposes with other layers, components, etc.
Repository:
- Similar to the repository in DDD (avoid aggregate and so on)
Decorator:
- In order to track the operations It has implemented this pattern.