The document instructs attendees of a TechDaysNL session to provide feedback on the session via www.techdaysapp.nl for a chance to win one of 20 prizes. It notes winners will be announced on Twitter with the hashtag #TechDaysNL and to use the personal code on their badge when submitting feedback. It clarifies all results are final and prizes listed are examples.
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Delivering Millions of Push Notifications in Minutes
1.
2. Laat ons weten wat u vindt van deze sessie! Vul de evaluatie
in via www.techdaysapp.nl en maak kans op een van de 20
prijzen*. Prijswinnaars worden bekend gemaakt via Twitter
(#TechDaysNL). Gebruik hiervoor de code op uw badge.
Let us know how you feel about this session! Give your
feedback via www.techdaysapp.nl and possibly win one of
the 20 prizes*. Winners will be announced via Twitter
(#TechDaysNL). Use your personal code on your badge.
* Over de uitslag kan niet worden gecorrespondeerd, prijzen zijn voorbeelden – All results are final, prizes are
examples
3. Delivering Millions of
Push Notifications in
Minutes
Sasha Goldshtein
CTO, Sela Group
Microsoft C# MVP, Azure MRS, Azure Insider
blog.sashag.net
@goldshtn
4. Typical Push System Diagram
Platform Push
Provider
Your Web
Service
Database
App
5. Azure Mobile Services is a backend
for your mobile apps
… that has a free tier
… cloud scale
… support for all mobile platforms
6. Mobile Services Push Architecture
Microsoft Azure
SQL DatabaseNode +
Express
backen
d
Apple Push
Notification
Service
Windows
Notification
Service
Google Cloud
Messaging
Microsoft Push
Notification
Service
URI/Token Device Type ID
aabc 43df
…
iOS 123456
https://live..
.
Windows 8 789123
56aaffbb… Android 456789
Server
scripts
Managed by
you
7. Azure Notification Hubs
… abstract away platform push
services
… support targeted multi-tag delivery
… scale to millions of users
… Mobile Services or any other
8. Notification Hub Push Architecture
Microsoft Azure
Node +
Express
backen
d
Apple Push
Notification
Service
Windows
Notification
Service
Google Cloud
Messaging
Microsoft Push
Notification
Service
Server
scripts
Notification Hub Service
SQL
Database
Tag URIs/Tokens Templates
sports [ ab…, 5a…,
…]
alert: …
<toast…>
data: …news [ bc…, 5a…,
…]
123456 [ 5a… ]
Not managed
by you
9. Options for Push Notifications
Registration Push
Through Mobile Service
Explicit channel management
Mobile Services push module
Directly from client to Notification Hub Azure hub module from Mobile Service
Azure NuGet package from other
backendThrough Mobile Service to Notification
Hub
11. Per-Platform Registration from
Mobile Service
hub.wns.createNativeRegistration(
request.body.channelUri,
[request.user.userId, ‚sports‛],
function (error, registration) { ... }
);
hub.apns.createNativeRegistration(
request.body.deviceToken,
[request.user.userId, ‚sports‛],
function (error, registration) { ... }
);
12. Direct Registration from
Windows 8 Client
var channel = await PushNotificationChannelManager.
CreatePushNotificationChannelForApplicationAsync();
var hub = new NotificationHub(name, connString);
await hub.RegisterNativeAsync(channel.Uri);
13. Push from Mobile Service
hub.wns.sendToastText02(
[ ‘sports’, ‘news’ ],
{
text1: ‘Breaking news’,
text2: ‘AFC Ajax defeats FC Twente 3-0’
},
function (error) { ... }
);
14. Push from Mobile Service
hub.apns.send (
[ ‘sports’, ‘news’ ],
{
badge: 1,
alert: ‘AFC Ajax defeats FC Twente 3-0’
},
function (error) { ... }
);
15. Push from Other .NET Backend
var hub = NotificationHubClient.
CreateClientFromConnectionString(connString, name);
var toast =
@‛...<text id=‘1’>‛
‚AFC Ajax defeats FC Twente 3-0‛
‚</text>...‛;
await hub.SendWindowsNativeNotificationAsync(toast);
23. Laat ons weten wat u vindt van deze sessie! Vul de evaluatie
in via www.techdaysapp.nl en maak kans op een van de 20
prijzen*. Prijswinnaars worden bekend gemaakt via Twitter
(#TechDaysNL). Gebruik hiervoor de code op uw badge.
Let us know how you feel about this session! Give your
feedback via www.techdaysapp.nl and possibly win one of
the 20 prizes*. Winners will be announced via Twitter
(#TechDaysNL). Use your personal code on your badge.
* Over de uitslag kan niet worden gecorrespondeerd, prijzen zijn voorbeelden – All results are final, prizes are
examples