Mobile Services Recap Windows Azure Mobile Services Multi-Platform Apps You don’t need a different Mobile Service for each platform!

Download Report

Transcript Mobile Services Recap Windows Azure Mobile Services Multi-Platform Apps You don’t need a different Mobile Service for each platform!

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
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 – Friday @12pm
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
http://Mobileservice.azure-mobile.net/tables/*
Action
HTTP Verb
URL Suffix
Create
POST
/TodoItem
Retrieve
GET
/TodoItem?$filter=id%3D42
Update
PATCH
/TodoItem/id
Delete
DELETE
/TodoItem/id
JSON Value
T-SQL Type
Numeric values (integer,
decimal, floating point)
Boolean
DateTime
String
Float
Bit
DateTimeOffset(3)
Nvarchar(max)
Postman
&
Runscope Demo
Sending Emails
Sending an Email
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
Friday @ 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
http://bit.ly/14b73Gg
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
http://aka.ms/authZeroZumo
Check out
Who’s that User? – Friday @ 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
Data
Synchronization
SQL Data Sync
Application-Layer
Connectivity & Messaging
Service Bus
Secure Point-to-Site Network
Connectivity
Windows Azure Virtual Network
Secure Site-to-Site
Network Connectivity
Windows Azure Virtual Network
Windows Azure
<subnet 1>
<subnet 2>
<subnet 3>
DNS
Server
On-premises
VPN
Gateway
Route-based
VPN
Your datacenter
Individual
computers behind
corporate firewall
Virtual Network
•
Extend your premises to the cloud securely
•
On-ramp for migrating services to the cloud
•
Use your on-prem resources in Azure (monitoring, AD, …)
On-premises
<subnet 1>
<subnet 2>
<subnet 3>
DNS
Server
VPN
Gateway
Hardware VPN or
Windows RRAS
Your datacenter
Windows Azure
Virtual Network
http://aka.ms/zumoprem1
http://aka.ms/zumoprem2
http://www.windowsazure.com
http://www.windowsazure.com/mobile
http://aka.ms/CommonWAMS
http://chrisrisner.com
@chrisrisner
Developing Windows 8.1 apps using Windows
Azure Mobile Services