Windows News app uses Notification Hubs Platform Notification Service App back-end Client app.

Slides:



Advertisements
Similar presentations
Windows Azure Himanshu Soni Senior Program Manager 2-041
Advertisements

Cross Platform Push with Azure
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Enhance Your Mobile Engagement Strategy with Azure
Connected clients & continuous services Line of Business Application Event Aggregator Team Sharepoint Site … Household Appliance Phone, Tablet, PC Point.
Push to ALL the iPhones with Azure Chris Risner Senior Technical Microsoft Azure.
Building Social Web Apps in ASP.NET. First HalfSecond Half (01)What’s New in ASP.NET 4.5 (60 mins)** MEAL BREAK ** (02) Building and Deploying Websites.
WEB APPS LOGIC APPS MOBILE APPS App Service API APPS Fabrikam Kable 1. Customer books appointment 2. Customer valet assigns a technician.
Building Connected iOS Apps with Mobile Services Chris Risner Senior Technical Microsoft Azure.
Azure Service Bus Coast to coast Bus tour.
Phonegap Bridge – File System CIS 136 Building Mobile Apps 1.
30 April 2014 Building Apps for Windows Phone 8.1 Jump Start WinRT Apps & Silverlight.
Introducing Xamarin 2.0 Introducing Xamarin 2.0 Michael Hutchinson
A Microsoft IoT víziója
Name Title Microsoft Corporation Push Notification Introduction and Platform Interaction.
XML badge update schema
Developing Push Notifications (C2DM) for Android Vijai Co-Founder Adhish Technologies, Sweet’N’Spicy apps.
.NET backend Heterogeneous data Hybrid Connections Offline sync Xamarin AAD Authentication Visual Studio API Management Notification Hubs Sencha.
Google Cloud Messaging for Android (GCM) is a free service that helps developers send data from servers to their Android.
Xamarin.Forms Hands On.
WAP Notification Services Greg Bean Cybergroup, Inc. Copyright © 2001, Cybergroup, Inc., All rights reserved.
Datacenter LOB web service LOB app Partner Mobile Device.
Reaching your customers in new and unique ways Mobile “Devices” led to revolutionary Experiences “Bring the experience with you” Came with many constraints.
“Thanks guys for a great information packed day. head is spinning!” “Well done guys. Intense sessions” “This is the best ever JumpStart that I have.
Kirill Principal Lead Program Manager High Scale Cross Platform Push Notifications.
Reservation changes, Deals, Back-office Travel/Hospitality/Airlines SMS replacement, Deals, Back-office Banking/Insurance Orders, Product UX,
Local, scheduled, periodic and push updates.
Basic State Plate App Logo Short Name Plate App Logo Short Name Semi-Live State Plate App Logo Short Name Badge Plate App Logo Short Name Badge Live.
WHO WILL BENEFIT FROM THIS TALK TOPICS WHAT YOU’LL LEAVE WITH Developers Interested in HTML5 Games Interested in Windows Azure Interested in Game Development.
DATA NOTIFICATIONS AUTH SERVER LOGIC LOGGING DIAGNOSTICS PLATFORMS: SCHEDULER SCALE.
Copyright ©2004 Virtusa Corporation | CONFIDENTIAL.Net Assignments K. R. C. Wijesinghe Trainer Virtusa Corporation.
David Burela.
6 Platform Notification Service App back-end.
ROLE 1 ROLE 2 Q/T Durable 1:1 – 1:n – Filtered Sessions w/State De-duplication Transactions Batching Scheduling & TTL Auto-forwarding Dead-lettering.
Developing AJAX Web applications with Castle Monorail David De Florinier Gojko Adzic Skills Matter 12/06/08.
Building Connected iOS Apps With Mobile Services Chris Risner Senior Technical Microsoft Azure.
FCM Workflow using GCM.
New IP Drivers using drvIpac Module Driver:CANopen Carrier Driver:GPFC drvIpac ?? CANopen Tip810 CAN Tip810 mv162GPFCatc40vipc310vipc616 Module driver.
Andrew Coates Advanced Windows 10 development with the Office 365 APIs DEV33 5.
குறுச்செயலிகள் உறுவாக்க தொழில்நுட்பம் தி. ந. ச. வெங்கடரங்க ன் Blog: venkatarangan.com உத்தமம் செல்பேசிக் கணிமை பிப்ரவரி
Advanced Windows Store App Development with HTML5 Refresh / Exam Prep M6: Tools and Asynchronous Programming Jeremy Foster Microsoft Technical.
App Package Folder App data Folders Local Roaming Temp Removable Storage (SD Card) Cloud Credential Locker B/ground Transfer Publishers Shared Folder.
ASP.NET Identity System
Windows News app uses Notification Hubs Platform Notification Service App back-end Client app.
Building Azure Mobile Apps
Mobile Application Solution
07 | Live tiles & notifications
Xamarin Studio Xamarin Curriculum for Xamarin Studio
Windows Calls Applications (windows.applicationmodel.calls)
Microsoft Passport and Windows Hello Developer’s Guide to Windows 10 Build SDK Update Andy Wigley
Mobile App Trends: lifecycle, functions, and cognitive
Notification Sisoft Technologies Pvt Ltd
Mobile Application Solution
Free Dumps4download Free Exam Questions | Dumps4Download.in
Hybrid Apps: Azure Mobile Engagement and the App Economy
11/23/2018 8:30 AM BRK3037 BRK3037: Dive deep on building apps and services with the Office 365 Communications Platform David Newman Senior Program Manager.
12/7/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
TechEd /15/2019 8:08 PM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
1/16/2019 8:14 PM SAC-863T Delivering notifications with the Windows Push Notification Service and Windows Azure Darren Louie, Nick Harris Program Manager,
Technical Capabilities
Office 365 Development.
Mobile Computing With Android ACST 4550 Toast
Consumer Mobile Apps that Scale
What's New in Visual Studio & Blend for XAML Developers
Using tiles and notifications
Notification Hubs Deep Dive
User Segmentation and Targeted Push Notifications for UWP apps
MyLion Registration Website | Mobile device
MOBILE BANKING.
03 | Async Programming & Networking Intro
Presentation transcript:

Windows News app uses Notification Hubs

Platform Notification Service App back-end Client app

APNsWNS Notification Hub App back-end iOS app Windows Store app

var hub = new NotificationHub(“ ", " "); var channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync(); await hub.RegisterNativeAsync(channel.Uri);

var hubClient = NotificationHubClient.CreateClientFromConnectionString(" ", “ "); var toast "; hubClient.SendWindowsNativeNotificationAsync(toast);

(void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *) deviceToken { … SBNotificationHub* hub = [[SBNotificationHub alloc] " [hub registerNativeWithDeviceToken:deviceToken tags:nil completion:^(NSError* error) { if (error != nil) { registering for notifications: error); } }]; }

In your main activity: Notification Hub hub = new NotificationHub(" ", " ", context); GoogleCloudMessaging gcm = GoogleCloudMessaging.getInstance(context); String regid = gcm.register(SENDER_ID); NativeRegistration r = hub.register(regid);

var hubClient = NotificationHubClient.CreateClientFromConnectionString(" ", “ "); var toastForIos "; hubClient.SendAppleNativeNotificationAsync(toastForIos); var toastForAndroid "; hubClient.SendGcmNativeNotificationAsync(toastForAndroid);

var azure = require('azure'); var notificationHubService = azure.createNotificationHubService('hubname', 'connectionString'); notificationHubService.wns.sendToastText01(null, { text1: 'Hello from Node and Mobile Services!' }, function (error) { if (!error) { // message sent successfully } } );

Notification Hub App back-end Tag:”Beatles”Tag:”Wailers” Tag:”Beatles”

Notification Hub App back-end

// POST api/register public async void Post(bool instId, bool channelUri, bool userId) { // We assume a windows store app (if coding a multiplatform app, a ‘platform‘ parameter should be passed) … if (!authorizedToRegisterTag(userId)) { throw new Exception("User not authorized to register"); } var regsForInstId = await hubClient.GetRegistrationsByTag(instId, 100); bool updated = false; bool firstRegistration = true; foreach (var registrationDescription in regsForInstId) { if (firstRegistration) { var winReg = registrationDescription as WindowsRegistrationDescription; winReg.ChannelUri = new Uri(channelUri); winReg.Tags.Clear(); winReg.Tags.UnionWith(new string[] {instId, userId}); hubClient.UpdateRegistration(winReg); updated = true; firstRegistration = false; } else { // if templates are not used, delete all extra registrations with this installation id. hubClient.DeleteRegistration(registrationDescription); } // if not updated, a new registration has to be created for the device if (!updated) { hubClient.CreateWindowsNativeRegistration(channelUri, new string[] {instId, userId}); }

Service Bus Notification Hub App back-end $(message) { aps: { alert: “$(message)” } { message: “Hello!” } Hello!

Service Bus Notification Hub App back-end $(tempF) { aps: { alert: “$(tempC)” } { tempC: “23”, tempF: “73” } 73 23