Over a million developers have joined DZone.

WNS Badge, Toast and Tile Reference

· Cloud Zone

Download this eBook outlining the critical components of success for SaaS companies - and the new rules you need to play by.  Brought to you in partnership with NuoDB.

 

Using WNS as part of your Windows 8 Store app? Digging into Windows Azure Mobile Services?  The Windows Notification Service is a key part of the Windows 8 platform and really great apps know how to use Push Notifications to make their great apps awesome.

Here’s a reference I got from my teammate Nick Harris showing off all the variations of Push Notification messages you can send to a Windows 8 machine, either manually from your own code, or from node.js scripts in your Windows Azure Mobile Services.

Toast variants: http://aka.ms/wnstoast

Tile variants: http://aka.ms/wnstile

Badge variants: http://aka.ms/wnsbadge

For the Mobile Services developer, these manifest themselves in the node javascript code something like this:

var parms = {
    image1src: 'http://link.to/myimage.jpg',
    image1alt: 'Alt tag for my image',
    text1: 'Text to put into the notification'
};
push.wns.sendToastImageAndText01(channel, parms);

Check out these links to learn what badge, tile or toast message options are available, and choose the one that makes the most sense for you and your app.


Learn how moving from a traditional, on-premises delivery model to a cloud-based, software-as-a-service (SaaS) strategy is a high-stakes, bet-the-company game for independent software vendors. Brought to you in partnership with NuoDB.

Topics:

Published at DZone with permission of Chris Koenig, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}