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

Notification Service #2835


User avatar
0
asanad created

How can i use _notificationPublisher.PublishAsync() from external component ( different portal) to send notification to my portal user ?


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    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.