How can i use _notificationPublisher.PublishAsync() from external component ( different portal) to send notification to my portal user ?
1 Answer(s)
-
0
Hi,
Do you want to send notification from an external app to AspNet Zero application ? If so, you can add a method for this to NotificationAppService. Becasue all app service methods are exposed as restful web api methods.
So you can call it from your external app. In order to do that, you will need to use token based authentication.
Please select your template version here <a class="postlink" href="https://aspnetzero.com/Documents/Development-Guide">https://aspnetzero.com/Documents/Development-Guide</a> and it will redirect you to documentation which contains how to do Token Based Authentication.
Please let us know if it does not work.
Thanks.