Get the source code for this video for FREE → https://the-dotnet-weekly.ck.page/outbox ☄️ Master the Modular Monolith Architecture: https://bit.ly/3SXlzSt 📌 Accelerate your Clean Architecture skills: https://bit.ly/3PupkOJ 🚀 Support me on Patreon to access the source code: https://www.patreon.com/milanjovanovic The Transactional Outbox Pattern, or just the Outbox pattern, is a powerful design pattern. In this video, I will show you how we can implement the Outbox pattern from scratch. To do that, we are going to need two components. One component is for persisting Outbox messages, and another is for processing the Outbox messages. Outbox Pattern For Reliable Microservices Messaging https://www.milanjovanovic.tech/blog/outbox-pattern-for-reliable-microservices-messaging Join my weekly .NET newsletter: https://www.milanjovanovic.tech Subscribe for more: https://www.youtube.com/c/MilanJovanovicTech?sub_confirmation=1 Chapters 0:00 What is an Outbox? 0:38 The Starting Point 2:23 Component 1: Persisting Outbox Messages 7:31 Configuring the Database Interceptor 8:47 Persisting Outbox Messages in Action 11:41 Component 2: Processing Outbox Messages 16:10 Configuring the Background Job 18:07 Processing Outbox Messages in Action