Windows Azure
Push
Notifications
#ISKAPUSH
Edwin van Wijk
Roy Cornelissen
Slide 2
Slide 2 text
Windows Azure Push Notifications 2
Push
Notifications
Oplossingen
Windows
Azure
Uitdagingen
Demo
Slide 3
Slide 3 text
Introductie
Windows Azure Push Notifications 3
IT Architect
bij Info Support
Architectuur, SOA, EAI, ESB,
.NET, WCF, WF, Windows Azure
Trekker Windows Azure Focusgroup
Edwin van Wijk
[email protected]
Slide 4
Slide 4 text
Introductie
Windows Azure Push Notifications 4
Architectuur, SOA, EAI, ESB,
.NET, NServiceBus, Xamarin
Trekker Mobile Development Focusgroup
Dutch Mobile .NET developers group
Roy Cornelissen
[email protected]
IT Architect
bij Info Support
Slide 5
Slide 5 text
Windows Azure Push Notifications 6
Wat zijn
Push Notifications?
Slide 6
Slide 6 text
Wat zijn Push Notifications?
Windows Azure Push Notifications 7
Slide 7
Slide 7 text
Wat zijn Push Notifications?
Windows Azure Push Notifications 8
Slide 8
Slide 8 text
Push Notifications infrastructuur
Windows Azure Push Notifications 9
1. Haal DeviceHandle op
2. Registreer DeviceHandle in de backend
3. Stuur bericht met DeviceHandle
4. Stuur push-notification naar device
Back-end
Device PNS
(APNS / WNS / GCM)
1
2
3
4
Slide 9
Slide 9 text
Uitdagingen
Windows Azure Push Notifications 10
Pub/Sub
Routering
Interesses koppelen aan
device handles
Schaalbaarheid
Bijhouden device tokens
Broadcasts
Platform
specifieke
API
Slide 10
Slide 10 text
Mogelijke oplossing
Windows Azure Push Notifications 11
Apple
Android
Windows
Backend
Device#
Scalability?
PushSharp library
PushSharp
github.com/redth/pushsharp
Slide 11
Slide 11 text
Oplossingen m.b.v. Azure
Windows Azure Push Notifications 12
Mobile Services
Push Notifications
Servicebus
Notification Hubs
Slide 12
Slide 12 text
Mobile Services Push Notifications
Windows Azure Push Notifications 13
Slide 13
Slide 13 text
Servicebus Push Notification Hubs
Windows Azure Push Notifications 14
Multi-
platform
iOS & WinRT
Schaalbaar
Pub/Sub
Routering
Tags
Preview sinds januari 2013
(Android en Windows Phone later)
Schatting GA: zomer 2013
Slide 14
Slide 14 text
Servicebus Push Notification Hubs infrastructuur
Windows Azure Push Notifications 15
1. Haal DeviceHandle op
2. Registreer DeviceHandle in Hub
3. Stuur bericht naar Hub
4. Stuur bericht naar PNS
5. Stuur push-notification naar device
Back-end
Device
PNS
(APNS / WNS / GCM)
1
Push Notification
Hub
2 3
4
5
Slide 15
Slide 15 text
Beheer van registraties
Windows Azure Push Notifications 16
Refresh Create
90 dagen geldig
Exists
Update
Get Delete
Slide 16
Slide 16 text
Beheer van registraties
Windows Azure Push Notifications 17
Client Back-end
- Alleen update mogelijk als
de app draait
+ Eenvoudige back-end
Back-end
Device
Push Notification
Hub
Back-end
Device
Provide PNS
Handle
Push Notification
Hub
+ Update mogelijk als
de app niet draait
(b.v. meerdere devices en tags)
- Veel zelf doen in Back-end
Slide 17
Slide 17 text
Notification formaat
Windows Azure Push Notifications 18
Native
Registratie zonder template
Notification bevat body in platform specifiek formaat
CreateNativeRegistration(…)
SendWindowsNativeNotification(…)
SendAppleNativeNotification(…)
Templates
Registratie met een template
Notification bevat platform onafhankelijke properties
CreateTemplateRegistration(…)
SendTemplateNotification(…)
Pub/Sub routering m.b.v. Tags
Windows Azure Push Notifications 20
Back-end
Device 1
Device 2
Push Notification
Hub
Technologie
Sport, Economie
a
b
c
a b
c b
Sport
Technologie
PNS niveau is
verdwenen uit
het plaatje
Slide 20
Slide 20 text
Boodschappenlijst Windows Store App
Windows Azure Push Notifications 21
Service Bus .NET
Preview SDK
NuGet 0.1.5.0
(07-05-2013)
Service Bus
WinRT
Managed SDK
Windows Store
Development
Account
Slide 21
Slide 21 text
Windows Store App registreren
Windows Azure Push Notifications 22
Slide 22
Slide 22 text
Windows Store App : toasts activeren
Windows Azure Push Notifications 23
Package.appxmanifest