Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation...
-
Upload
elinor-atkinson -
Category
Documents
-
view
221 -
download
2
Transcript of Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation...
![Page 1: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/1.jpg)
Developing Mobile Apps
with Windows Azure Mobile Services
Pongsakorn PoosankamMicrosoft Innovation Center – ManagerMicrosoft (Thailand) Limited
![Page 2: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/2.jpg)
Kind of Mobile Apps Offline Online Hybrid
Me Thai Radio Live AIS Book Store
![Page 3: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/3.jpg)
Be hide the scene
Windows Azure
1+ Terabytes of Data2+ million subscribers5,000+ registers/day90% Thai e-Publishingreduced IT costs by 30%
http://bit.ly/KamauU
ScalableHigh AvailabilitySave CostSelf ServiceFlexible
![Page 4: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/4.jpg)
What is Windows Azure Mobile Services?
Data
Notifications
Auth
Server Logic
Scale
Logging
Diagnostics
![Page 5: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/5.jpg)
http://www.microsoft.com/en-us/download/details.aspx?id=8396
![Page 6: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/6.jpg)
Getting Starteda backend for your mobile app in
minutes Demo
![Page 7: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/7.jpg)
Structured StorageStructured Storage with SQL DatabaseIf using single database apps are partitioned by schema
AppX.TodoitemAppY.Todoitem
Manage data inPortalSQL PortalSQL Management StudioREST API…
![Page 8: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/8.jpg)
Server Logic
Automatic service REST API generated for storageDynamic Schema on/offAbility to author server logic that intercepts CRUD operation pipelineRich querying capability
![Page 9: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/9.jpg)
REST API to SQL type mappings
JSON Value T-SQL TypeNumeric values (integer, decimal, floating point)
Float(53)
Boolean BitDateTime DateTimeOffset(3)String Nvarchar(max)
![Page 10: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/10.jpg)
Server Logicadding server logic on CRUD
operations Demo
![Page 11: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/11.jpg)
Push Notification Lifecycle Overview 1. Request Channel URI
2. Register with your Cloud Service
3. Authenticate & Push Notification
Windows 8
(1)
(2)
(3)
(3)
![Page 12: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/12.jpg)
Push Notifications
Integrates with WNS to provide Toast, Tile, Badge and Raw notificationsPortal captures your WNS client secret and package SIDpush.wns.* provides:
clean easy object model to compose notifications
Performs auth against WNS for you
![Page 13: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/13.jpg)
Push NotificationsDemo
![Page 14: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/14.jpg)
Auth*
Authenticate against Windows LiveTable level permissions for each CRUD operation
EveryoneAnyone with the Application KeyOnly Authenticated UsersOnly Scripts and Admins
More granular control with server side scripts
![Page 15: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/15.jpg)
Adding Authenticationhooking up Windows Live in minutesDemo
![Page 16: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/16.jpg)
Diagnostics, Logging and Scale
DiagnosticsAPI callsCPU TimeData Out
Loggingconsole.error(…)console.log(…)
Scale - ComputeScale out instance countScale up VM size
Scale - StorageScale out mobile service tenant to dedicated SQL DBScale up SQL DB
![Page 17: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/17.jpg)
Diagnostics, Logging, Scale
Demo
![Page 18: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/18.jpg)
Free Offer at Launch
Running on shared instances
10 Mobile Services 1GB SQL
Database
Must be deployed to US-East DC
Data transfer is per subscription, not per mobile service
No SLA during Preview. Only small instances available. Can upgrade to a reserved instance at 33% discount from normal Pay-As-You-Go rates during Preview.
From
WA
Free Tria
lUnlimited ingress
165MB daily egress
![Page 19: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/19.jpg)
Summary
Data
Notifications
Auth
Server Logic
Scale
Logging
Diagnostics
Available Preview• Windows 8
Coming soon• Windows Phone• iPhone• Android
Start $5 per month• 100 MB MSSQL• Share compute
![Page 20: Developing Mobile Apps with Windows Azure Mobile Services Pongsakorn Poosankam Microsoft Innovation Center – Manager Microsoft (Thailand) Limited.](https://reader035.fdocuments.net/reader035/viewer/2022062516/56649e625503460f94b5e5f3/html5/thumbnails/20.jpg)
20