Skip to content

Commit 16acd45

Browse files
committed
Updates to WNS configuration
1 parent d4623ba commit 16acd45

File tree

4 files changed

+8
-6
lines changed

4 files changed

+8
-6
lines changed
148 KB
Loading
120 KB
Loading

articles/notification-hubs/notification-hubs-windows-store-dotnet-get-started-wns-push-notification.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ ms.tgt_pltfrm: mobile-windows
1212
ms.devlang: csharp
1313
ms.topic: tutorial
1414
ms.custom: "mvc, ms.custom: devx-track-csharp"
15-
ms.date: 08/23/2021
15+
ms.date: 02/22/2022
1616
ms.author: sethm
1717
ms.reviewer: thsomasu
1818
ms.lastreviewed: 12/04/2019
@@ -62,10 +62,12 @@ To send push notifications to UWP apps, associate your app to the Windows Store.
6262
2. Type a name for your app, and then select **Reserve product name**. Doing so creates a new Windows Store registration for your app.
6363

6464
![Store app name](./media/notification-hubs-windows-store-dotnet-get-started/store-app-name.png)
65-
3. Expand **Product management**, select **WNS/MPNS**, and then select **Live Services site**. Sign in to your Microsoft account. The application registration page opens in a new tab. Alternatively, you can navigate directly to the [My applications](https://apps.dev.microsoft.com) page, and select your application name to get to this page.
65+
3. Expand **Product management**, and then select **Product Identity**. Take note of the **Package SID**, **Package/Identity/Name**, **Package/Identity/Publisher**, and **Package/Properties/PublisherDisplayName** values.
6666

67-
![WNS MPNS page](./media/notification-hubs-windows-store-dotnet-get-started/wns-mpns-page.png)
68-
4. Note the **Application Secrets** password as well as both **Package security identifier (SID)** and **Application Identity** under the Windows Store section.
67+
:::image type="content" source="media/notification-hubs-windows-store-dotnet-get-started/product-identity.png" alt-text="Partner center apps":::
68+
4. Under **Product management**, select **WNS/MPNS**, and then select **App Registration portal**. Sign in to your Microsoft account. The application registration page opens in a new tab. Take note of the **Application Secret** password.
69+
70+
![WNS page](./media/notification-hubs-windows-store-dotnet-get-started/wns-page.png)
6971

7072
>[!WARNING]
7173
>The application secret and package SID are important security credentials. Do not share these values with anyone or distribute them with your app.
@@ -77,7 +79,7 @@ To send push notifications to UWP apps, associate your app to the Windows Store.
7779
### Configure WNS settings for the hub
7880

7981
1. In the **NOTIFICATION SETTINGS** category, select **Windows (WNS)**.
80-
2. Enter values for **Package SID** and **Security Key** you noted from the previous section.
82+
2. Enter values for **Package SID** and **Security Key** (the **Application Secret**) you noted from the previous section.
8183
3. Click **Save** on the toolbar.
8284

8385
![The Package SID and Security Key boxes](./media/notification-hubs-windows-store-dotnet-get-started/notification-hub-configure-wns.png)
@@ -148,7 +150,7 @@ Your notification hub is now configured to work with WNS. You have the connectio
148150

149151
This action guarantees that the channel URI is registered in your notification hub each time the application launches.
150152

151-
12. Right-click on `Package.appxmanifest` and select View Code (**F7**). Locate `<Identity .../>` and replace the value with the **Application Identity** from the WNS you created [earlier](#create-an-app-in-windows-store).
153+
12. Right-click `Package.appxmanifest` and select **View Code (F7)**. Locate `<Identity .../>` and replace the **Name** value with the **Package/Identity/Name**, and replace its **Publisher** value with the **Package/Identity/Publisher** value from the WNS you created [earlier](#create-an-app-in-windows-store).
152154

153155
13. To run the app, press the keyboard's **F5** key. A dialog box containing the registration key will display. To close the dialog, click **OK**.
154156

0 commit comments

Comments
 (0)