DORSETRIGS
Home

domain-driven-design (31 post)


posts by category not found!

DDD: Can immutable objects also be entities?

DDD and Immutability Can Entities Be Immutable Domain Driven Design DDD and immutable objects are both powerful concepts in software development but their relat

2 min read 07-10-2024 19
DDD: Can immutable objects also be entities?
DDD: Can immutable objects also be entities?

ddd - Where should synchronization with remote API go?

Domain Driven Design Where Should Remote API Synchronization Live Domain Driven Design DDD emphasizes building software around the core business logic But what

3 min read 07-10-2024 49
ddd - Where should synchronization with remote API go?
ddd - Where should synchronization with remote API go?

Clean Architecture exceptions

Unlocking Clean Architecture with Graceful Exception Handling Clean architecture a popular software design approach promotes code flexibility and maintainabilit

3 min read 05-10-2024 42
Clean Architecture exceptions
Clean Architecture exceptions

How to join IdentityUser in my custom class CreatorId

Joining Identity User with a Custom Creator Id in ASP NET Core Problem You re building an ASP NET Core application and need to associate a user represented by I

2 min read 05-10-2024 42
How to join IdentityUser in my custom class CreatorId
How to join IdentityUser in my custom class CreatorId

What's the difference between Anti-Corruption Layer and Adapters?

Deciphering the Roles Anti Corruption Layers vs Adapters in Software Development In the world of software development clean and efficient code is paramount But

3 min read 05-10-2024 60
What's the difference between Anti-Corruption Layer and Adapters?
What's the difference between Anti-Corruption Layer and Adapters?

C# DDD with EF Core use same domain entity / aggregate for mapping table or separate class

Mapping Domain Entities to Tables in EF Core Same Class or Separate Domain Driven Design DDD is a popular approach for building complex software applications On

3 min read 04-10-2024 44
C# DDD with EF Core use same domain entity / aggregate for mapping table or separate class
C# DDD with EF Core use same domain entity / aggregate for mapping table or separate class

Generic value converter for strongly typed ids in ef core 8

Simplifying Your EF Core 8 Development A Generic Value Converter for Strongly Typed IDs Problem Working with strongly typed IDs in EF Core 8 often requires crea

2 min read 04-10-2024 49
Generic value converter for strongly typed ids in ef core 8
Generic value converter for strongly typed ids in ef core 8

Who acts as a conformist in the Customer/Supplier relationship in DDD?

Who Acts as a Conformist in the Customer Supplier Relationship in Domain Driven Design DDD In the context of Domain Driven Design DDD understanding the dynamics

2 min read 30-09-2024 39
Who acts as a conformist in the Customer/Supplier relationship in DDD?
Who acts as a conformist in the Customer/Supplier relationship in DDD?

DTO on hexagonal architecture and DDD

Understanding DTOs in Hexagonal Architecture and Domain Driven Design DDD In software design the way we structure our data can significantly affect how easily w

3 min read 30-09-2024 47
DTO on hexagonal architecture and DDD
DTO on hexagonal architecture and DDD

Class field is not being set

Understanding the Issue Class Field is Not Being Set In programming specifically in object oriented languages its common to encounter issues where a class field

2 min read 17-09-2024 42
Class field is not being set
Class field is not being set

How to Avoid Duplicating Validation Logic in EF Core configuration and Value Objects?

How to Avoid Duplicating Validation Logic in EF Core Configuration and Value Objects When working with Entity Framework Core EF Core in NET applications develop

3 min read 15-09-2024 77
How to Avoid Duplicating Validation Logic in EF Core configuration and Value Objects?
How to Avoid Duplicating Validation Logic in EF Core configuration and Value Objects?

Retrieving data from outside current subdomain in integration event handler

Retrieving Data from Outside Current Subdomain in Integration Event Handlers When dealing with integration events in a web application particularly in scenarios

3 min read 14-09-2024 64
Retrieving data from outside current subdomain in integration event handler
Retrieving data from outside current subdomain in integration event handler

How do we work with the business logic in DDD if we need to work with all users?

Domain Driven Design Managing User Logic in a Complex System Domain Driven Design DDD is a powerful approach to software development that prioritizes understand

2 min read 13-09-2024 52
How do we work with the business logic in DDD if we need to work with all users?
How do we work with the business logic in DDD if we need to work with all users?

DDD Entities making use of Services

DDD Entities and Domain Services Finding the Right Balance This article explores a common challenge in Domain Driven Design DDD how to handle complex business l

3 min read 07-09-2024 48
DDD Entities making use of Services
DDD Entities making use of Services

Should services always return DTOs, or can they also return domain models?

Domain Models vs DTOs in Services A Balancing Act In the world of software development the question of whether to use domain models or Data Transfer Objects DTO

3 min read 06-09-2024 77
Should services always return DTOs, or can they also return domain models?
Should services always return DTOs, or can they also return domain models?

Send, Publish and Request/Response in MassTransit

Understanding Mass Transit Send Publish and Requests in Microservices Mass Transit is a powerful library for building robust scalable and reliable messaging sys

3 min read 04-09-2024 53
Send, Publish and Request/Response in MassTransit
Send, Publish and Request/Response in MassTransit

How to handle complex Aggregate Root invariant in DDD?

Handling Complex Aggregate Root Invariants in DDD A Library System Example In Domain Driven Design DDD the Aggregate Root is a crucial concept for maintaining c

3 min read 03-09-2024 46
How to handle complex Aggregate Root invariant in DDD?
How to handle complex Aggregate Root invariant in DDD?

Mapping data recieved from Angular in .net using mediatR

Mapping Data from Angular to NET using Mediat R and Auto Mapper This article explores a common issue developers face when trying to map data received from an An

3 min read 03-09-2024 50
Mapping data recieved from Angular in .net using mediatR
Mapping data recieved from Angular in .net using mediatR

How to design API endpoint from a DDD perspective

Bridging the Gap Designing RES Tful APIs with Domain Driven Design Domain Driven Design DDD and RES Tful API design are often seen as separate entities leading

3 min read 03-09-2024 70
How to design API endpoint from a DDD perspective
How to design API endpoint from a DDD perspective

ETL design over an existing DDD aggregate

ETL Design Over an Existing DDD Aggregate A Practical Guide This article explores a common challenge in software development integrating a batch data loading pr

4 min read 01-09-2024 52
ETL design over an existing DDD aggregate
ETL design over an existing DDD aggregate

Dealing with a Factory that uses both a Strategy and Repository

Refactoring a Factory with Strategy and Repository A Deep Dive This article tackles a common issue in software development how to gracefully handle factories th

3 min read 01-09-2024 52
Dealing with a Factory that uses both a Strategy and Repository
Dealing with a Factory that uses both a Strategy and Repository

Handling Multiple Actors in a Use Case in Clean Architecture and DDD

Navigating Multiple Actors in Use Cases A Clean Architecture and DDD Approach When designing applications using Clean Architecture and Domain Driven Design DDD

3 min read 01-09-2024 78
Handling Multiple Actors in a Use Case in Clean Architecture and DDD
Handling Multiple Actors in a Use Case in Clean Architecture and DDD

Clean architecture, render email content

Implementing Clean Architecture for Email Content Rendering in Notification Systems In modern software development applying clean architecture principles is cru

3 min read 01-09-2024 60
Clean architecture, render email content
Clean architecture, render email content

DDD Bounded context diagram as code tools

Beyond Context Mapper Exploring Tools for DDD Bounded Context Diagram as Code Domain Driven Design DDD is a powerful approach for tackling complex software syst

2 min read 01-09-2024 77
DDD Bounded context diagram as code tools
DDD Bounded context diagram as code tools

CQRS and Domain Driven Design: Anemic data model for Query side

CQRS and DDD The Case for Anemic Data Models on the Query Side When implementing Command Query Responsibility Segregation CQRS alongside Domain Driven Design DD

2 min read 31-08-2024 62
CQRS and Domain Driven Design: Anemic data model for Query side
CQRS and Domain Driven Design: Anemic data model for Query side