This document contains slides from a presentation about Windows Azure Mobile Services (WAMS). It introduces WAMS and what it is used for, including storing and accessing data in the cloud and user authentication. It also covers push notifications in WAMS and how to set up a basic demo of a WAMS project to store and retrieve data. The presentation provides an overview of key capabilities and services in WAMS for building mobile backends in the cloud.
2. www.realdolmen.com
EATING CLOUDS FROM YOUR COUCH
MARCH 28, 2013 | SLIDE 2
3. WHO AM I?
Consultant RealDolmen Mobile Solution Center
Focus on WP8
Community Leader
http://www.madn.be
MEET member
Public speaker
Dzone Most Valuable Blogger
@NicoVermeir Nico_vermeir http://www.spikie.be
@hotmail.com
MARCH 28, 2013 | SLIDE 3
4. BUY MY BOOK!
http://bit.ly/ZHNH9A
MARCH 28, 2013 | SLIDE 4
5. TODAY’S AGENDA
WAMS
Data
Auth
Notifications
MARCH 28, 2013 | SLIDE 5
6. BEFORE WE BEGIN
I couldn’t find another place to fit him in
MARCH 28, 2013 | SLIDE 6
7. Eating clouds from your couch
WINDOWS AZURE MOBILE
SERVICES
MARCH 28, 2013 | SLIDE 7
12. DATA
Powered by SQL Azure
Partitioned by schema
appX.TodoItem
appY.TodoItem
Use familiar tools to manage data
Azure portal
SQL Server management studio
REST API
MARCH 28, 2013 | SLIDE 12
13. SERVER
REST API generated
Dynamic schema
Server side scripts powered by node.js
MARCH 28, 2013 | SLIDE 13
14. JSON TO SQL TYPE MAPPING
MARCH 28, 2013 | SLIDE 14
17. AUTHENTICATION
Different authentication services
Microsoft Account
Twitter
Facebook
Google
Not dependend on ACS
Permissions per table
Everyone
Anyone with the Application Key
Only Authenticated Users
Only Scripts and Admins
Server side scripts
user.level: {admin, authenticated, anonymous}
user.userId: id or undefined if not authenticated
MARCH 28, 2013 | SLIDE 17
18. WARNING!
THE NEXT DEMO CONTAINS
JAVASCRIPT
MARCH 28, 2013 | SLIDE 18
19. THE LAST TIME I USED JAVASCRIPT...
MARCH 28, 2013 | SLIDE 19
22. LIFE OF A NOTIFICATION
MARCH 28, 2013 | SLIDE 22
23. PUSH NOTIFICATIONS
Integrates with WNS
Toast
Tile
Badge (Windows 8 only)
Set WNS client ID and secret in portal
Not necessary when you send < 500 notifications / day
Authentication is done for you
MARCH 28, 2013 | SLIDE 23
29. For more information:
visit our website WWW.REALDOLMEN.COM
Follow us on:
Selected presentations are available on:
THANK YOU Or scan this QR code with your Smartphone to immediately go to the website
MARCH 28, 2013 | SLIDE 29