Sharing Context Between MediatR Components

Поділитися
Вставка
  • Опубліковано 25 чер 2024
  • We use MediatR fairly often in #aspnetcore and it we mostly tend to use handlers, pipeline behaviors and notifications. So, when processing a certain IRequest, there are different moving blocks and sometimes we might want to share some contextual information between these blocks. However, this is not a feature MediatR offers. So, how do we do this? Well, in this video I will show you the easiest way to share contextual information between MediatR components.
    #dotnet
    MediatR Pipeline Behaviors video: • The MediatR Feature NO...
    Join this channel to get source code access and other perks:
    / @codewrinkles
    Content
    1. Intro: 00:00
    2. Setup overview: 00:17
    3. Creating a MediatR context: 01:19
    4. Implementing the MediatR context: 02:25
    Also follow me here (especially if you are a self taught developer):
    ✅My other channel: / @danpatrascutech
    ✅Facebook: / danpatrascutech
    ✅Instagram: / danpatrascutech
    ✅TikTok: / danpatrascutech
    ✅Newsletter: www.danpatrascu.tech/
    My setup:
    Camera - Canon EOS M50 Mark II: amzn.to/3SJxS4d
    Lav mic - Rode Lavalier GO Professional: amzn.to/3mmZS1B
    Condenser mic - Shure SM7B: amzn.to/3JaqjQN
    Audio console - Rodecaster PRO II: amzn.to/3KTVMIg
    Laptop - Dell Latitude: amzn.to/3KV4SEW
    Monitors - Benq 27 inch: amzn.to/3JbM6aU
    Lights - 2x Godox SL-60W: amzn.to/3KV3qCj
  • Наука та технологія

КОМЕНТАРІ • 2