Play Building an Azure Backend
Sign in to queue

Description

Learn how to integrate Azure App Services within your apps, implement REST services, add authentication and send notifications from the cloud.

Day:

2

Embed

Download

Download this episode

The Discussion

  • User profile image
    ianwgm

    I need some help. I am trying to get Push Notifications working in a new UWP app but having no luck. I have watched this video many times and the examples shown at/from around 51 minutes use the MobileService instance to register the channel.Uri...

    await MobileService.GetPush().RegisterAsync(channel.Uri);

    However, this line of code in a UWP app is invalid. The MobileService instance variable is created from a new MobileServiceClient which is from the namespace Microsoft.WindowsAzure.MobileService (version 1.3.1)

     

    In this video, is this a UWP app or a Universal Windows 8.1 app? As writing this same code in a W8.1 app works. And the Microsoft.WindowsAzure.MobileService namespace is version 2.0.0

     

    So my questions are...

    1. Is this example a W8.1 app and not a UWP app?

    2. If it is a UWP app then how do I get version 2.0.0 of Microsoft.WindowsAzure.MobileService to work?

     

    Thanks

Add Your 2 Cents