Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Notification distributer #6581


User avatar
0
kasem created

Hi!

Besides realtime notifier through SignalR, I would like to add an additional notification channel. Can you please describe the steps required to add a new notification distributer.

BTW, I tried the following in AspNetZero (AspNetCore) WebHostModule, but somehow distributer enumerator isn't recognized (only provider is found): Configuration.Notifications.Distributers.Add<MyNotificationDistributer>();


7 Answer(s)
  • User Avatar
    0
    aaron created
    Support Team

    Which version of ABP are you on?

    You probably don't want distributers though: aspnetboilerplate/aspnetboilerplate#4326 (comment)

  • User Avatar
    0
    kasem created

    I use v5.5.2 of ASP.NET CORE & Angular with Abp 3.8.1

    Maybe I didn't get the idea. Do you mean create my custom notifier and call it when needed? I just found it simple to just add one more distributer to the list.

  • User Avatar
    0
    aaron created
    Support Team

    Support for multiple distributers was added in ABP 4.1.

  • User Avatar
    0
    kasem created

    Excellent! Seems it's the time to upgrade :-)

    Thank you

  • User Avatar
    0
    kasem created

    Can you please just tell me why you think I don't need distributors? what other way would you recommend?

  • User Avatar
    0
    aaron created
    Support Team

    It seems more appropriate to add multiple IRealTimeNotifier (notifying users in a different ways) than multiple INotificationDistributor (deciding which users to distribute to).

    Would multiple IRealTimeNotifier support your use case?

    PR: aspnetboilerplate/aspnetboilerplate#4330

  • User Avatar
    0
    kasem created

    I'll be able to check this after finishing the upgrade. bear with me please :) For now, I'm opening a new ticket as a result of this upgrade