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.

Universal Windows Platform (UWP)
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,997 questions
{count} votes

Accepted answer
  1. Fay Wang - MSFT 5,221 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 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.