Notification pattern using MediatR [C# 11 / .NET 7]

Поділитися
Вставка
  • Опубліковано 1 чер 2024
  • MediatR NuGet package implements a simple and easy-to-understand version of the mediator design pattern for communicating between components inside a .NET assembly.
    #csharp #csharp11 #dotnet #dotnet7 #mediátor
    Some of my popular videos:
    Elasticsearch with .NET and introduction: • An Introduction to Ela...
    Hangfire Scheduling an introduction: • Scheduling recurring j...
    ASP.NET Core Authentication with JWT (JSON Web Token): • ASP.NET Core Authentic...
    Running Background tasks using IHostedService and BackgroundService (In ASP.NET Core 3.1): • Running Background tas...
    How to build an API Gateway in ASP.NET Core using Ocelot (Build API Gateway in a few minutes): • How to build an API Ga...
    My blog site: dotnetcorecentral.com
  • Наука та технологія

КОМЕНТАРІ • 11

  • @GeromeGuillemin
    @GeromeGuillemin 3 місяці тому

    Great and clear explanations (y)

  • @VijayKumar-wy9ku
    @VijayKumar-wy9ku 6 місяців тому

    Can I get same message multiple times as we get in INotification if I use Irequest and use 2 handlers for same Irequest?

  • @foonlam7134
    @foonlam7134 7 місяців тому

    If say after I create an order, I want to make an API call to a third party, should I put this in the notification handler of the order created notification or should I put it in the createorderhandler itself?

  • @dfytq
    @dfytq 27 днів тому

    is there any way to attach this notification for every commands ? or we need to manually trigger mediatr.publish everytime?

  • @aj.arunkumar
    @aj.arunkumar Рік тому +1

    cool

  • @venud1800
    @venud1800 Рік тому

    Thank you 😊

  • @thedacian123
    @thedacian123 Рік тому

    Is it ok to use mediator and notifcations for DDD domain events notfications, i mean for notifiend aggregates ,for instance when a Domain Event occured?

  • @yogij17
    @yogij17 6 місяців тому

    Wow great demo... Just what i needed
    Can i use this notification handler to publish real time data. E.g. as soon as i register a user. I want to push notification to other users that new user registered.
    Can I do that using web api?

  • @vktop2
    @vktop2 7 місяців тому

    Good video, can I use the Mediator pattern to decouple what I used to decouple with Interfaces? Regards