Repository and Unit of work pattern in ASP.net core

Repository and Unit of work pattern in ASP.net core

A Repository is used to manage aggregate persistence and retrieval. The repository mediates between the data-access layer and the domain.The unit of work pattern keeps track of all changes to aggregates. Once all updates of the aggregates in a scope are completed, the tracked changes are played onto the database in a transaction

July 30, 2020 · (updated February 2, 2024) · 12 min · Pradeep Loganathan
Transactional Outbox Pattern

Transactional Outbox Pattern

Transactional Outbox is a pattern to reliably publish messages without the use of distributed transactions. It uses an Outbox and a message dispatcher to reliably persist state and publish messages.

July 16, 2019 · (updated February 5, 2024) · 10 min · Pradeep Loganathan