Azure Mobile Services
Global Microsoft Azure Day
March 29, 2014
Presented by Dmitri Artamonov
@dartamon
Agenda
• Mobile Services – origin and purpose
• Client-side Features
• Server-side Features
• Demos
• Lab
Back-end in a box
• Android, iOS, Xamarin, WinRT, WP, HTML5/JS
• Easily create services
• Azure Portal set up
• Server scr...
Mobile
Services
Data
iOSHTML5WinRT
API
Push Auth
Data Services
• Querying – REST verbs (including
PATCH, former MERGE)
• Filtering
• Transact-SQL
• Paging – Take/Skip
Dynamic Schema
• No need to pre-define the table schema
• INSERT to a table and columns created by
magic
• Disable functio...
Filtering
var query = todoItemTable.where({
complete: false
}).read().done(function (results) {
alert(JSON.stringify(resul...
Filtering – cont’d
• Request very similar to WCF Data Services:
GET /tables/todoitem?$filter=
(complete+eq+false) HTTP/1.1
Transact SQL
• mssql.query(sql, params, options)
mssql.query('select top 3 * from statusupdates’,{
success: function(resul...
Push Notifications
• WNS, Apple Push or Google Cloud
• Windows Store client secret and package sid
• Apple Store app certi...
Authentication
• Live ID, Facebook, Google, Twitter, Azure ADS
• Need the private API keys
• Simple API call to log in as ...
Authentication - ADS
• Azure provide Active Directory as an
authentication service
• Need private keys to add to Mobile Se...
Scripting and Promises
• Server-side scripting available for CRUD, sched
jobs and custom APIs
• Promises are async delegat...
Custom APIs
• Can create custom APIs with Javascript
• Custom APIs get invoked on REST verbs
• Javascript used to script t...
DEMO
Azure Mobile Services
Things we missed
• Notification Hubs
• Blob Storage
• Source Control
• Individual notifications
• Custom API periodic noti...
Questions?
LAB
Azure Mobile Services
Lab links
• http://www.windowsazure.com/en-
us/develop/mobile/resources-html/
• “Get started with data”
• “Get started wit...
World Azure Day Mobile Services Presentation
Upcoming SlideShare
Loading in...5
×

World Azure Day Mobile Services Presentation

566

Published on

A presentation on the powerful capabilities of Microsoft Azure Mobile Services, by Dmitri Artamonov of BlueMetal Architects.

Published in: Mobile
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
566
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

World Azure Day Mobile Services Presentation

  1. 1. Azure Mobile Services Global Microsoft Azure Day March 29, 2014 Presented by Dmitri Artamonov @dartamon
  2. 2. Agenda • Mobile Services – origin and purpose • Client-side Features • Server-side Features • Demos • Lab
  3. 3. Back-end in a box • Android, iOS, Xamarin, WinRT, WP, HTML5/JS • Easily create services • Azure Portal set up • Server scripting in JS
  4. 4. Mobile Services Data iOSHTML5WinRT API Push Auth
  5. 5. Data Services • Querying – REST verbs (including PATCH, former MERGE) • Filtering • Transact-SQL • Paging – Take/Skip
  6. 6. Dynamic Schema • No need to pre-define the table schema • INSERT to a table and columns created by magic • Disable function before going to production
  7. 7. Filtering var query = todoItemTable.where({ complete: false }).read().done(function (results) { alert(JSON.stringify(results)); }, function (err) { alert("Error: " + err); });
  8. 8. Filtering – cont’d • Request very similar to WCF Data Services: GET /tables/todoitem?$filter= (complete+eq+false) HTTP/1.1
  9. 9. Transact SQL • mssql.query(sql, params, options) mssql.query('select top 3 * from statusupdates’,{ success: function(results { console.log(results); }, error: function(err) { console.log("error is: " + err); } });
  10. 10. Push Notifications • WNS, Apple Push or Google Cloud • Windows Store client secret and package sid • Apple Store app certificate • Google API key
  11. 11. Authentication • Live ID, Facebook, Google, Twitter, Azure ADS • Need the private API keys • Simple API call to log in as a user • Can filter data queries based on the user - authorization
  12. 12. Authentication - ADS • Azure provide Active Directory as an authentication service • Need private keys to add to Mobile Services • Demo?
  13. 13. Scripting and Promises • Server-side scripting available for CRUD, sched jobs and custom APIs • Promises are async delegates using the then() and done() functions • Launch when a value is returned • query.read().done( // do work );
  14. 14. Custom APIs • Can create custom APIs with Javascript • Custom APIs get invoked on REST verbs • Javascript used to script the response
  15. 15. DEMO Azure Mobile Services
  16. 16. Things we missed • Notification Hubs • Blob Storage • Source Control • Individual notifications • Custom API periodic notifications • Recovery/Error Handling • Voice and SMS
  17. 17. Questions?
  18. 18. LAB Azure Mobile Services
  19. 19. Lab links • http://www.windowsazure.com/en- us/develop/mobile/resources-html/ • “Get started with data” • “Get started with authentication” • “Use scripts to authorize users”
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×