Preview 2-713.pptx

1.0x

Preview 2-713.pptx

Created 2 years ago

Duration 0:00:00
lesson view count 28
Select the file type you wish to download
Slide Content
  1. Donna Malayeri

    Slide 1 - Donna Malayeri

    • Program Manager, Azure Mobile
    • @lindydonna
    • Go Mobile! Login, sync data, and connect to enterprise APIs with Azure App Service
    • 2-713
    • //build/ content is being presented by Microsoft Office Mix The video for this session will be available shortly
  2. Intro to Azure App Service

    Slide 2 - Intro to Azure App Service

    • What’s new in Mobile
    • Consumer apps
    • Enterprise apps and offline sync
    • Azure Mobile Apps
  3. App Service: one integrated offering

    Slide 3 - App Service: one integrated offering

    • API Apps
    • Easily build and consume APIs in the cloud
    • Web Apps
    • Web apps that scale with your business
    • Mobile Apps
    • Build Mobile apps for any device
    • LOGIC Apps
    • Automate business process across SaaS and on-premises
  4. App Service Platform View (Runtime)

    Slide 4 - App Service Platform View (Runtime)

    • API Apps
    • Web Apps
    • Mobile Apps
    • LOGIC Apps
  5. Create web and mobile experiences that share data access and business logic

    Slide 5 - Create web and mobile experiences that share data access and business logic

    • Automate business processes with logic apps
    • Build custom APIs or consume connectors from Marketplace
    • One common billing model for all of your App Services
    • Use a common Gateway to authenticate
    • App Service
  6. And now, a story

    Slide 6 - And now, a story

  7. 10 minute service window!

    Slide 7 - 10 minute service window!

    • Online appointment booking!
    • Push notifications and SMS alerts!
  8. Slide 8

    • Web Apps
    • LOGIC Apps
    • Mobile Apps
    • App Service
    • Api Apps
    • Fabrikam Kable
    • Customer books appointment
    • Customer valet assigns a technician
    • Service Technician closes out work order on mobile device
  9. Slide 9

    • Web Apps
    • LOGIC Apps
    • Mobile Apps
    • App Service
    • Api Apps
    • Web Apps
    • LOGIC Apps
    • Mobile Apps
    • Api Apps
    • http
    • SQL
    • Customer site
    • Customer Valet
    • Technician App
    • CustomerNotification
    • Customer App
  10. Customer valet uses Web App

    Slide 10 - Customer valet uses Web App

    • Web App creates a new case in CRM
    • Logic app sends push notification to customer
    • Fabrikam Kable
  11. Demo

    Slide 11 - Demo

  12. Technician client app

    Slide 12 - Technician client app

  13. Register device handle at app launch

    Slide 13 - Register device handle at app launch

    • Client app retrieves handle from Platform Notification Service (PNS)
    • Client app sends handle to your custom backend
    • Send Notification
    • Your backend connects to PNS and requests pushYour code has to manage scaleYour code has to map between logical users and device handles
    • PNS pushes notification to device
    • Maintain backend device handles
    • Your code must delete expired handles when PNS rejects them
    • Your code must map between logical users and device handles
    • Push Notifications 101
    • Platform
    • Notification
    • Service
    • App back-end
    • Client app
    • 1
    • 2
    • 3
    • 4
    • 5
    • 6
  14. Register device handle at app launch

    Slide 14 - Register device handle at app launch

    • Client app retrieves handle from Platform Notification Service
    • Client sends handle to your backendBackend registers with Notification Hub using tags to represent logical users and groups
    • Send Notification
    • Backend sends request to Notification Hub using a tagNotification Hub manages scaleNotification Hub maps logical users/groups to device handles
    • Notification Hub delivers notifications to matching devices via PNS
    • Maintain backend device handles
    • Notification Hub deletes expired handles when PNS rejects them
    • Notification Hub maintains mapping between logical users/groups and device handles
    • Azure Notification Hubs
    • PNS
    • App back-end
    • Client app
    • 1
    • 2
    • 2
    • 4
    • 5
    • 6
    • Notification
    • Hub
    • 3
    • 4
  15. How do people use Azure Mobile Services today?

    Slide 15 - How do people use Azure Mobile Services today?

  16. Build engaging apps

    Slide 16 - Build engaging apps

    • Sleeve Music uses Azure Mobile Services to help users discover music and follow artists
    • Social feeds feature uses the App Service Twitter connector to notify of artist events (concerts, etc.)
    • Images courtesy of Orange Tribes
  17. Accelerate time to market

    Slide 17 - Accelerate time to market

    • 3M built a parking tracker app in a weekend using Azure Mobile Services
    • App is offline sync enabled and uses Xamarin to work cross-platform
  18. Slide 18

    • Skanska created a cross-device application that drew crucial construction and environmental data from the cloud in order to safeguard hospitals.
    • Revolutionize business
  19. Azure Mobile Apps vs. Azure Mobile Services

    Slide 19 - Azure Mobile Apps vs. Azure Mobile Services

  20. Slide 20

    • REST API
    • Offline sync
    • Push Notifications
    • Data connections
    • User Authentication
    • Facebook
    • Twitter
    • Microsoft
    • Google
    • Azure Active Directory
    • Azure Mobile Apps
    • Windows
    • iOS
    • Android
    • HTML 5/JS
    • Xamarin
    • PhoneGap
    • Sencha
    • Windows
    • Android
    • Chrome
    • iOS OSX
    • In-App
    • Kindle
    • Mobile SDKs
    • Backend code
    • SQL
    • Mongo
    • Tables
    • O365
    • API Apps
    • Offline Sync
  21. New hosting benefits

    Slide 21 - New hosting benefits

    • Courtesy of Azure Web Apps
    • Richer monitoring and alerting
    • Traffic manager
    • Custom CNAMEs
    • VNET and VPN
    • Backup and restore
    • More VM size and instance options
    • In production A/B testing
    • Auto load-balance
    • Share capacity across Web and Mobile
    • Staging slots
    • Validate changes in your staging environment before publishing to production
    • More devops features
    • Support for BitBucket and Visual Studio Online; seamless integration with GitHub
    • Web Jobs
  22. Mobile Services – in classic portal

    Slide 22 - Mobile Services – in classic portal

    • Mobile Apps – preview portal
    • When Mobile Apps is GA, will have all the features of Mobile Services
    • Azure Mobile Apps vs. Azure Mobile Services
    • With Azure Mobile Apps, you have more control over your compute environment
    • All the hosting benefits of Web Apps at the same price
  23. Azure Mobile App is still in preview

    Slide 23 - Azure Mobile App is still in preview

    • This is your chance to influence the product!
    • New features will go into Mobile Apps
    • Azure Mobile Services is still supported
    • After GA, we will offer a seamless migration experience
    • Your existing investments are safe
    • After General Availability, you choose when to migrate to Azure Mobile Apps
  24. Customer valet uses Web App

    Slide 24 - Customer valet uses Web App

    • Web App creates a new case in CRM
    • Logic app sends push notification to customer
    • Web Job synchronizes CRM data to a custom SQL database
    • Fabrikam Kable
  25. Mobile App backend reads from SQL and writes through to CRM

    Slide 25 - Mobile App backend reads from SQL and writes through to CRM

    • Fabrikam Kable
  26. DemoMobile App backend code

    Slide 26 - DemoMobile App backend code

  27. Azure MobileOffline data sync

    Slide 27 - Azure MobileOffline data sync

  28. The best mobile apps handle network interruptions gracefully.

    Slide 28 - The best mobile apps handle network interruptions gracefully.

  29. Adding offline sync to an app is usually hard.With Azure Mobile App, it’s easy.

    Slide 29 - Adding offline sync to an app is usually hard.With Azure Mobile App, it’s easy.

  30. Improve app responsiveness by caching server data locally on the device

    Slide 30 - Improve app responsiveness by caching server data locally on the device

    • Make apps resilient against intermittent network connectivity
    • Allow end-users to create and modify data even when there is no network access
    • Sync data across multiple devices
    • Detect and handle conflicts when the same record is modified by more than one client
    • Why use mobile offline sync?
  31. Access data from Mobile Services tables even when app is offline

    Slide 31 - Access data from Mobile Services tables even when app is offline

    • Keep a local queue of Create, Update, Delete operations and synchronize with server when app is back online
    • Detect conflicts when same item is changed both locally and on server
    • Use soft delete to remove deleted records from client data stores
    • Can use push notifications to trigger client sync
    • How it works
  32. Mobile App backend reads from SQL and writes through to CRM

    Slide 32 - Mobile App backend reads from SQL and writes through to CRM

    • Mobile client SDK syncs SQLite db with Azure Mobile backend
    • Fabrikam Kable
  33. DemoField Engineer client app

    Slide 33 - DemoField Engineer client app

  34. Handle client sync conflicts

    Slide 34 - Handle client sync conflicts

    • Client
    • Conflict resolution
    • Server
    • Conflict resolution
  35. ▲, 1

    Slide 35 - ▲, 1

    • ■, 2
    • ▲, 1
    • ▲, 1
    • ●, 2
    • ■, 2
    • Detect Conflicts with Optimistic Concurrency
    • Device 1
    • Server
    • Device 2
    • ▲, 1
    • ▲, 1
    • ▲, 1
    • ▲, 1
    • ▲, 1
    • ■, 2
    • ▲, 1
    • Create
    • Fetch
    • Update
    • Update
    • ■, 2
  36. DemoBackend conflict handling

    Slide 36 - DemoBackend conflict handling

  37. Adding push notifications

    Slide 37 - Adding push notifications

  38. Lightweight and composable

    Slide 38 - Lightweight and composable

    • Eliminates burdens of database-to-database sync
    • Works with a variety of server data stores
    • SQL, Azure Tables, Mongo, Dynamics CRM, Salesforce, etc.
    • Cross-platform client SDKs
    • Windows Universal, Xamarin, iOS, Android
    • Summary: Azure Mobile offline sync
  39. Supports both “primarily online” and “occasionally connected” scenarios

    Slide 39 - Supports both “primarily online” and “occasionally connected” scenarios

    • Explicit push and pull leaves control to the developer
    • Flexible and powerful
    • Supports custom local storage layers
    • Detect and handle conflicts on server or client
    • Summary: Azure Mobile offline sync
  40. Azure Mobile Apps = Mobile Services + App Service

    Slide 40 - Azure Mobile Apps = Mobile Services + App Service

    • Harness the full power of Azure Web Apps for your mobile backend
    • Connect to API Apps, SaaS connectors
    • Summary
  41. Session

    Slide 41 - Session

    • 2-764 When Bad Things Happen to Good Apps: Troubleshooting Applications
    • Friday 2-3pm
    • Watch these recordings:
    • 2-628 Azure App Service Architecture
    • 2-633 Running Web and Mobile Apps on Azure App Service
    • 2-760 Azure API apps for Web, Mobile and Logic Apps
    • 2-620 Agile Development in Practice: Tips and Tricks for Modernized Dev
    • Related
  42. Try Azure Mobile App for free!

    Slide 42 - Try Azure Mobile App for free!

    • No credit card required!
    • Go to aka.ms/TryMobileApp
    • Learn more
    • Go to aka.ms/AppServiceMobile
    • Tweet @azuremobile
    • @lindydonna
    • Try it now
  43. Improve your skills by enrolling in our free cloud development courses at the Microsoft Virtual Academy.

    Slide 43 - Improve your skills by enrolling in our free cloud development courses at the Microsoft Virtual Academy.

    • Try Microsoft Azure for free and deploy your first cloud solution in under 5 minutes!
    • Easily build web and mobile apps for any platform with AzureAppService for free.
    • Resources