Mobile Services Recap
Windows Azure Mobile Services
Multi-Platform Apps
You don’t need a different Mobile Service for each platform!
Connect them all!
Cross-Platform Support
Multi-Device Push
Single Platform Push Notifications
Multi-Platform Push Notifications
Don’t forget to check the response on error (or getFeedback for APNS) Also, check out Delivering Push Notifications to Millions of Devices –
Virtual Tables
Create a table Use it’s endpoint Don’t call request.Execute
Custom API
Custom API Demo
Talking to Azure Storage
It’s doable It’s not perfect Scripts and the Azure module
Reading Tables
Reading Table Rows
Creating Containers
Reading and “Creating” Blobs
Storage Demo
Talking REST
ActionHTTP VerbURL Suffix CreatePOST/TodoItem RetrieveGET/TodoItem?$filter=id%3D42 UpdatePATCH/TodoItem/id DeleteDELETE/TodoItem/id
JSON ValueT-SQL Type Numeric values (integer, decimal, floating point) Float BooleanBit DateTimeDateTimeOffset(3) StringNvarchar(max)
Postman & Runscope Demo
Sending s
Sending an
Setting up SendGrid Demo
The CLI
It’s awe SOME
CLI Demo
Service Filters and DelegatingHandlers
Client side Intercepts requests Intercepts responses
Sending Version Info with Each Request
DelegatingHandlers are Service Filters
Script Versioning
Checking the Version in Scripts
For more on versioning, check out Going Live and Beyond with Windows Azure Mobile Services 10:30 am
Talking Twitter
v1 is dead v1.1 is hard
Part 1: The Helpers
Part 2: The Work (part 1)
Part 2.2: The Work
That was terrible Do this
The Easy Way
Script Source Control
Enable on dashboard Creates Git repo Changes push from client
Shared Scripts
require(‘jsfile.js'); *Need a config change on update (for now)
Auth Part 1: Custom
Pass creds in Validate Hash your salt Create a JWT
Part 1: The Helpers
Part 2: The Work
Part 3: Signing In
…or just use Auth0 Check out Who’s that User? – 2pm
Auth Part 2: Identity Caching
Storing Credentials in.NET
Getting and Setting Credentials
Auth Part 3: Expired Tokens
DelegationHandlers (again)
ServiceFilter (iOS)
Auth Demo
One-to-Many
Client Server
Client
Server 1
Server 2
Remember API call #s when considering client side one-to-many
Paging Data
Client Server
Client
Server Scripts
On-Prem
Secure Site-to-Site Network Connectivity Windows Azure Virtual Network Data Synchronization SQL Data Sync Application-Layer Connectivity & Messaging Service Bus Secure Point-to-Site Network Connectivity Windows Azure Virtual Network
On-premises Your datacenter Individual computers behind corporate firewall Route-based VPN Windows Azure Virtual Network DNS Server VPN Gateway
On-premises Your datacenter Hardware VPN or Windows RRAS Windows Azure Virtual Network DNS Server VPN Gateway Extend your premises to the cloud securely On-ramp for migrating services to the cloud Use your on-prem resources in Azure (monitoring, AD, …)
Pricing
$ Preview No availability SLA Shared (multitenant environment) Small instance is the only size available; multiple may be purchased First 10 Mobile Services are free, with no plans to start charging Reserved (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 100 Mobile Services
$ General Availability 99.9% FreeStandardPremium PriceFree (up to 10 services/month) $25 USD/mo (per unit*) $199 USD/mo (per unit*) API Calls500K (per subscription) 1.5M (per unit) 15M (per unit) Active Devices100 (per subscription) 5K (per unit) 100K (per unit) ScaleN/AUp to 6 Standard units Up to 10 Enterprise units Scheduled JobsLimitedIncluded SQL Database (required) 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity 20MB Included, Standard rates apply for more capacity