Building mobile back ends with windows azure mobile services
Windows Azure Mobile Services
-
Upload
david-isbitski -
Category
Technology
-
view
1.211 -
download
3
description
Transcript of Windows Azure Mobile Services
![Page 1: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/1.jpg)
Building Windows Store Apps with Windows Azure Mobile Services
Dave IsbitskiTechnology Evangelist, Windows 8twitter.com/TheDaveDevblogs.msdn.com/[email protected]
![Page 2: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/2.jpg)
Now is the time to write your game. Enjoy the first to market advantage!
twitter.com/thedavedev | [email protected]
http://bit.ly/genapp8
![Page 3: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/3.jpg)
Windows Azure Mobile ServicesDataPush NotificationsAuthDiagnostics & Scale
Agenda
![Page 4: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/4.jpg)
Data
Notifications
Auth
Server Logic
Scale
Logging
Diagnostics
What is Windows Azure Mobile Services?
![Page 5: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/5.jpg)
Windows Azure Mobile Services are ideal for:
Modern mobile appsReduces the friction associated with repeating common tasks such as user authentication, push notifications, and structured storage
Rapid DevelopmentTime is money. Get your app up and running sooner when you use Mobile Services to configure a straightforward and secure backend in less than five minutes.
Apps requiring structured data Seamlessly connect to a Windows Azure SQL database for simple data management and dynamically created tables. Easy to set and manage permissions.
Key Scenarios
![Page 6: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/6.jpg)
a backend for your mobile apps in minutes
demoGetting Started
![Page 7: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/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: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/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: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/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: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/10.jpg)
adding server logic on CRUD operations
demoServer Logic
![Page 11: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/11.jpg)
1. Request Channel URI
2. Register with your Cloud Service
3. Authenticate & Push Notification
Windows 8
(1)
(2)
(3)
(3)
Push Notification Overview
![Page 12: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/12.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 13: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/13.jpg)
hooking up to Twitter or Facebook in minutes
demoAdding Authentication
![Page 14: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/14.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 15: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/15.jpg)
push notification lifecycle made easy
demoPush Notifications
![Page 16: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/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: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/17.jpg)
demo
Diagnostics, Logging, Scale
![Page 18: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/18.jpg)
Free Offer at Preview
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: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/19.jpg)
Pricingpricing & licensing $ service level
agreements
PreviewNo availability SLA
General Availability99.9%
Shared Instance (multitenant environment)
Small instance is the only size available; multiple may be purchased
Free at public preview launch
Up to 10 applications
Reserved Instance (private VM)
Small instance is the only size available; multiple may be purchased
Charge for Preview will be at the same reduced rate as Web Sites
Up to 10 applications
![Page 20: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/20.jpg)
Summary
Data
Notifications
Auth
Server Logic
Scale
Logging
Diagnostics
![Page 22: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/22.jpg)
Now is the time to write your game. Enjoy the first to market advantage!
twitter.com/thedavedev | [email protected]
http://bit.ly/genapp8
![Page 23: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/23.jpg)
Building Windows Store Apps with Windows Azure Mobile Services
Dave IsbitskiTechnology Evangelist, Windows 8twitter.com/TheDaveDevblogs.msdn.com/[email protected]
![Page 24: Windows Azure Mobile Services](https://reader033.fdocuments.in/reader033/viewer/2022052523/5560b5d0d8b42aef3b8b4968/html5/thumbnails/24.jpg)
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS
PRESENTATION.