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.
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:
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.
Request a notification channel through the CreatePushNotificationChannelForApplicationAsync, it will return a channel URI.
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).
Using the channel URI, the cloud service can send a notification.
15 people are following this question.