你的位置: 码友网首页 / 资讯源列表 / Immediate Domain Event Salvation with MediatR

关于[Immediate Domain Event Salvation with MediatR]的摘要:

Domain events are one of my favorite patterns and one Julie Lerman and I cover in our DDD Fundamentals course, on Pluralsight. I differentiate between two kinds of domain events: pre-persistence and post-persistence. You'll find a good implementation of post-persistence domain events (using MediatR) in my Clean Architecture solution template. However, until recently, I hadn't built an immediate, pre-persistence implementation of domain events for .NET using MediatR. This is meant to follow a similar approach to Udi Dahan's classic static helper, which relied on StructureMap and static methods.

原文地址: https://ardalis.com/immediate-domain-event-salvation-with-mediatr/

收录时间: 2020-07-10 浏览量: 2306 分类: 架构设计

| 1 收藏 | 0