1 / 22

When Apps meet the Cloud Windows Azure Mobile Services from 0-100

When Apps meet the Cloud Windows Azure Mobile Services from 0-100. Mario Szpuszta Technical Evangelist, Microsoft Corp. blogs.msdn.com/ mszcool. Agenda. Positioning Azure Mobile Services What are we talking about ? How is Mobile Services related to other services in Azure?

Download Presentation

When Apps meet the Cloud Windows Azure Mobile Services from 0-100

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. When Apps meetthe Cloud Windows Azure Mobile Services from 0-100 Mario Szpuszta Technical Evangelist, Microsoft Corp. blogs.msdn.com/mszcool

  2. Agenda Positioning Azure Mobile Services Whatarewetalkingabout? Howis Mobile Services relatedtootherservices in Azure? Mobile Services Architecture Whichfunctionality do Mobile Services provide? Whatpiecesandartifactsareweworkingwith? Developing a Mobile Services App How-to get started? How-to,dealwithmoreadvancedscenarios such asauthentication, push etc.?

  3. Positioning Azure Mobile Services Understanding Mobile Services andtheir Target Group

  4. Windows Azure – Environment for Apps • Virtual Machines • Cloud Services • Web Sites • Mobile Services Web Apps Applications Multi-tier Apps Mobile Apps Data Data Data Data Firewall Rules Endpoint Management Virtual Network O/S Focus on the Application

  5. Applicationbuildingblocks Big data Database Media Storage Traffic Messaging Identity Caching CDN Networking

  6. Open for many platforms • SDKs and tools for: • .NET, PHP, Java, Python, node.js • Mobile platforms incl. iOS, Android, WP7 • Eclipse, Visual Studio etc. • Most released as OSS • Codeplex & github are primary sources • Generally • All also available as HTTP REST • Integration of any platform possible

  7. What is Windows Azure Mobile Services? Framework: create backend services Builtwith Node.js, based on Windows Azure Websites Target group: you create mobile and tablet apps Create Windows Store, WP7/8, iOS and Android apps super-fast Need onecommon backend tostoreandexchangedata How you need to think about it? Need backend servicesforyourapps… andyourappsonly Not a replacementfor Websites ourcloudserviceswhichofferhigherlevelofcontrol

  8. Mobile Services Architecture What Services areavailable? Whatisthetypicalarchitecture?

  9. What is Windows Azure Mobile Services? Notifications Auth Data Logging Server Logic Scale Diagnostics

  10. Mobile Services App Architecture

  11. Development with Mobile Services Howto get startedandadvancedscenarios…

  12. GettingStarted… Create a Mobile Service Reserve resources in the Azure datacenterforyour backend Create a new App ofyourchoice Windows 8, Windows Phone 8, iOS, Android Download andinclude Mobile Services SDK Create a centralMobileServiceClientinstancewiththeservice URL andtheappkey

  13. Structured Storage Structured Storage with SQL Database If using single database apps are partitioned by schema AppX.Todoitem AppY.Todoitem Manage data in Portal SQL Portal SQL Management Studio REST API…

  14. Auth* Authenticate against Windows Live Table level permissions for each CRUD operation Everyone Anyone with the Application Key Only Authenticated Users Only Scripts and Admins More granular control with server side scripts user.level: {admin, authenticated, anonymous} user.userId: id or undefined if not authenticated

  15. Server Logic Automatic service REST API generated for storage Dynamic Schema on/off Ability to author server logic that intercepts CRUD operation pipeline Rich querying capability

  16. Server Logic Supported Modules + Globals mssql request console push tables statusCodes mssql.query('select top 1 * from statusupdates', { success: function(results) { console.log(results); } } );

  17. REST API to SQL type mappings

  18. Push Notification Lifecycle Overview Mobile Services Windows 8 Request Channel URI Register with your Cloud Service Authenticate & Push Notification App (2) Windows Push Notification Service Notification Client Platform (3) (1) (3)

  19. Diagnostics, Logging and Scale Diagnostics API calls CPU Time Data Out Logging console.error(…) console.log(…) Scale - Compute Scale out instance count Scale up VM size Scale - Storage Scale out mobile service tenant to dedicated SQL DB Scale up SQL DB

  20. Summary All youneedtoknowto get started…

  21. Windows Azure Mobile Services Notifications Auth Data Logging Server Logic Scale Diagnostics

More Related