News

Windows 10 Universal App Platform (UAP) Support

2 min readPubNub Staff on Mar 24, 2016
Try PubNub Today

Free up to 1MM monthly messages. No credit card required.

Subscribe to our newsletter

By submitting this form, you are agreeing to our Terms and Conditions and Privacy Policy.

We are happy to announce that PubNub can now be used in Windows 10 Universal App Platform (UAP) applications. Building Windows apps with PubNub is quite easy. To follow these instructions you’ll need ...

We are happy to announce that PubNub can now be used in Windows 10 Universal App Platform (UAP) applications. Building Windows apps with PubNub is quite easy. To follow these instructions you’ll need Windows 10 (obviously) and Visual Studio. The Visual Studio Community Edition 2015 will work fine.

Requirements

  1. Windows 10 OS
  2. Visual Studio Community Edition (free download)

Run the demo example

  1. Download the example code.
  2. Make sure you are targeting .NET Framework 4.5.2.
  3. This example uses PubnubPCL Nuget package
  4. Open PubnubWindowsStore.sln file and right-click on PubnubWindowsStore.prj project.
  5. Run the project

You can also create your own sample project with the following steps:

  1. Create new project:
    Create a New Project
  2. Install the latest PubnubPCL Nuget package.
    Open Manage NuGet Packages menu
    Select the PubNub NuGet package
  3. Now add your own code by instantiating Pubnub instance.
    Pubnub pubnub = new Pubnub("demo", "demo");
  4. Continue using the PubNub API as you would in any C# program.

Example Code

Here is a full publish and subscribe example:

Using PubNub for Win10 UAP apps is as easy as any of our other SDKs, and it works everywhere UAP apps do. We can’t wait to see what you build.

For complete documentation please see the new PubNub C# PCL SDK with tutorials for features like Presence, History, Data Streams, and more.

More from PubNub

How to Advance Telehealth and Virtual Care Technologies
News May 2, 20221 min read

How to Advance Telehealth and Virtual Care Technologies

Dr. Joe Kvedar, Chair of the Board for the American Telemedicine Association, joins our COO, Casey Clegg, to discuss why...

PubNub Staff

PubNub Staff

Another Step Towards Data Security: ISO-27001 Implementation
BuildMay 2, 20221 min read

Another Step Towards Data Security: ISO-27001 Implementation

Today, we are glad to announce that we are currently in the process of implementing ISO-27001 security standards.

PubNub Staff

PubNub Staff

Improving Virtual Care in a Post-Pandemic World
News Apr 14, 20221 min read

Improving Virtual Care in a Post-Pandemic World

Meg Barron, VP of Digital Health Strategy at the AMA, talks with PubNub’s COO, Casey Clegg, about what’s next for the healthcare...

PubNub Staff

PubNub Staff