480 likes | 489 Views
Learn about Azure App Service with Donna Malayeri, Program Manager, Azure Mobile. Explore new enterprise features in mobile and web apps, sync data offline on mobile, and connect to enterprise APIs effortlessly. Discover Logic Apps, API Apps, and more!
E N D
Go Mobile! Login, Sync Data, and Connect to Enterprise APIs with Azure App Service Donna Malayeri Program Manager, Azure Mobile @lindydonna
Objectives Intro to Azure App Service New enterprise features in Mobile Apps Mobile Apps + the power of Web Apps Offline Sync on mobile clients
Azure App Service: one integrated offering Azure Mobile Apps =Mobile Services “v2” Web Apps Mobile Apps Azure Websites is now called Azure Web Apps Web apps that scale with your business Build mobile backendsfor any device Logic Apps Automate business process across SaaS and on-premises API Apps Easily build and consume APIs in the cloud
Azure App Service • Automate business processes with logic apps • Build custom APIs or consume connectors from Marketplace • Create web and mobile experiences that share data access and business logic • Pool compute resources across your App Services using an App Service Plan
App Service Sessions Upcoming BRK1450 Microsoft Azure Logic AppsLogic apps capabilities, demos, architectureThursday 9am BRK3719 Azure API Apps: API Backends for Enterprise Web, Mobile, and Logic AppsApp Service gateway, single sign-on, API connectorsThursday 1:30pm BRK3715 Running Enterprise Web and Mobile Apps on Azure App ServiceApp Service Environments, a new dedicated compute optionFriday 12:30pm Watch this recording BRK3707 Agile Development in Practice: Tips and Tricks for Modernized DevDevOps features in Azure Web Apps
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
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
Revolutionize business Skanska created a cross-device application that drew crucial construction and environmental data from the cloud in order to safeguard hospitals.
Online appointment booking! Push notifications and SMS alerts! 10 minute service window!
FabrikamKable • Customer books appointment • Customer Valet assigns a technician using Web App • Web App creates a new case in CRM • Logic App sends push notification to customer …
Technician client app Later, Service Technician closes out work order on mobile device
Web Apps Mobile Apps LOGIC Apps Customer ValetWeb App CustomerNotifications CustomerApp Backend TechnicianApp Backend Api Apps http SQL
Azure Mobile Services Azure Mobile Apps Offline Sync Data connections Backend code .NET Node.js API Apps O365 SQL Tables Mongo Mobile SDKs User Authentication REST API Windows iOS Android HTML 5/JS Xamarin PhoneGap Sencha Web App Twitter Facebook Google Azure Active Directory Microsoft Offline sync Push Notifications Windows iOS OSX Kindle Android Chrome In-App
New hosting benefits 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 • Courtesy of Azure Web Apps (aka Azure Websites)
App Service Platform View (Runtime) Web Apps Logic Apps Mobile Apps API Apps
Demo Azure Preview Portal
Azure Mobile Apps vs. Azure Mobile Services • Mobile Services – in classic portal • Mobile Apps – preview portal • When Mobile Apps is GA, will have all the features of 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
Your existing investments are safe • 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 fully supported • After GA, we will offer a seamless migration experience • After General Availability, youchoose when to migrate to Azure Mobile Apps
FabrikamKable • Customer Valet assigns a technician using 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
FabrikamKable • Mobile App backend reads from SQL and writes through to CRM
Demo Mobile App backend code
The best mobile apps handle network interruptions gracefully.
Adding offline sync to an app is usually hard.With Azure Mobile, it’s easy.
Why use mobile offline sync? • 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
How it works • 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
FabrikamKable • Mobile App backend reads from SQL and writes through to CRM • Mobile client SDK syncs SQLite db with Azure Mobile backend • Note: Client apps do not communicate directly with backend data source
Demo Field Engineer client app
Handle client sync conflicts Server conflict resolution Client conflict resolution
Detect Conflicts with Optimistic Concurrency Server Device 1 Device 2 Create ▲, 1 ▲, 1 Fetch ▲, 1 ▲, 1 ▲, 1 Update ▲, 1 ■, 2 ▲, 1 ■, 2 Update ✘ ●, 2 ■, 2 ■, 2
Demo Backend conflict handling
Summary: Azure Mobile offline sync 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. Multi-platform client SDKs Windows Universal, Xamarin, iOS, Android
Summary: Azure Mobile offline sync 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
Solution Accelerators and Prebuilt Apps Field Engineer – Telco / Utilities / Energy Sales Assistant – Point Of Sale, Retail
Announcing: Dynamics CRM Connector • See Dynamics CRM theatre sessions for a demo! • Enables Dynamics CRM 3rd party apps to work offline and sync • Enables apps connect to Dynamics CRM & federate with other data sources • Engage users via push notifications based on Dynamics data change events • Available for Mobile Services (GA) and App Service Mobile Apps (Preview)
New hosting option: App Service Environments • New Premium Tier Feature • Dedicated compute resources • Increased Scaling Options • Directly created in a Virtual Network • To learn more, attend BRK3715 Running Enterprise Web and Mobile Apps on Azure App Service Friday 12:30pm
Announcing: Xamarin Library for Azure Storage • Preview library now available! • Go to aka.ms/AzureStorageXamarin to learn more • Coming soon: • Azure Mobile sample: offline sync with SQL and Azure Blob Storage
Summary Azure Mobile Apps = Mobile Services + App Service Connect to API Apps and SaaS connectors Harness the full power of Azure Web Apps for your mobile backend Easily build sync-enabled mobile client apps
Related Upcoming BRK1450 Microsoft Azure Logic AppsLogic apps capabilities, demos, architectureThursday 9am BRK3719 Azure API Apps: API Backends for Enterprise Web, Mobile, and Logic AppsApp Service gateway, single sign-on, API connectorsThursday 1:30pm BRK3715 Running Enterprise Web and Mobile Apps on Azure App ServiceApp Service Environments, a new dedicated compute optionFriday 12:30pm Watch this recording BRK3707 Agile Development in Practice: Tips and Tricks for Modernized DevDevOps features in Azure Web Apps
Try it now 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
Please evaluate this session Your feedback is important to us! VisitMyigniteathttp://myignite.microsoft.comor download and use the Ignite Mobile Appwith the QR code above.