question

Devid-7452 avatar image
0 Votes"
Devid-7452 asked ·

UWP Sample for push notification using Web Server

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.

windows-uwpazure-webapps
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi, does the following answer help?

0 Votes 0 ·

1 Answer

FayWang-MSFT avatar image
0 Votes"
FayWang-MSFT answered ·

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.


· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.