UWP Sample for push notification using Web Server

Devid 61 Reputation points
2020-02-29T14:37:23.51+00:00

Can you please share complete sample about the push notification using Web Server instead of the Azure Notification hub?
What I have found are the sample for Windows 8.1, I need the sample for UWP.

Azure App Services
Azure App Services
A feature of Azure App Service used to create and deploy scalable, mission-critical web apps.
4,537 questions
Universal Windows Platform (UWP)
{count} votes

Accepted answer
  1. Fay Wang - MSFT 5,131 Reputation points
    2020-03-02T02:16:22.357+00:00

    Hello,​

    ​Welcome to our Microsoft Q&A platform!

    Currently, there is no complete sample about the WNS, but you can refer to this document:Windows Push Notification Services (WNS) overview for more detailed information.

    When you want to use it, it involves these steps:

    1. Before you can send notifications using WNS, your app needs to be registered with the Store Dashboard, your cloud service will use in authenticating with WNS.
    2. Request a notification channel through the CreatePushNotificationChannelForApplicationAsync, it will return a channel URI.
    3. To send a notification, the cloud service must be authenticated through WNS. The cloud service authenticates with WNS by providing its credentials (Package SID and secret key).
    4. Using the channel URI, the cloud service can send a notification.

0 additional answers

Sort by: Most helpful