Hi there, I have read most of the documents and posts about notification systems on the aspnetboilerplate documents and in the forum but I have still a question about extending notification system as I describe below. Suppose that we are going to have many notification providers such as Email, SMS, Facebook, Telegram, ... and let the users choose their favorite provider as they are subscribing the notifications. (AbpNotification entities are extended and required notification providers are implemented). At last while the Notification System is trying to send the notification, choose the suitable provider. I wonder to know that how can I extend the notification system to support this feature and are there any solutions in aspnetboilerplate infrastructure. If not, what is the start point of the implementation? Shall we use EventBus or any other alternatives ? :?: :?: :?: :?: Thanks ;)
1 Answer(s)
-
0
Hi,
In ABP, notifications are distributed here <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/blob/master/src/Abp/Notifications/NotificationDistributer.cs#L59">https://github.com/aspnetboilerplate/as ... ter.cs#L59</a> using an IRealTimeNotifier implementation.
You can implement a new IRealTimeNotifier and send notifications to any provider you like.
Thanks.