Azure Mobile Apps = Mobile Services “v2” Azure Websites is now called Azure Web Apps.

48
park the future. May 4 – 8, 2015 Chicago, IL

Transcript of Azure Mobile Apps = Mobile Services “v2” Azure Websites is now called Azure Web Apps.

Spark the future.

May 4 – 8, 2015Chicago, IL

Go Mobile! Login, Sync Data, and Connect to Enterprise APIs with Azure App ServiceDonna MalayeriProgram Manager, Azure Mobile@lindydonna

ObjectivesIntro to Azure App ServiceNew enterprise features in Mobile AppsMobile Apps + the power of Web AppsOffline Sync on mobile clients

Azure App Service: one integrated offering

API AppsEasily build and

consume APIs in the cloud

Web AppsWeb apps that scale with your business

Mobile AppsBuild mobile backends

for any device

Logic AppsAutomate business

process across SaaS and on-premises

Azure Mobile Apps =Mobile Services “v2”

Azure Websites is now called Azure Web Apps

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

Azure App Service

UpcomingBRK1450 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 recordingBRK3707 Agile Development in Practice: Tips and Tricks for Modernized DevDevOps features in Azure Web Apps

App Service Sessions

How do people use Azure Mobile Services today?

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 market3M built a parking tracker app in a weekend using Azure Mobile Services

App is offline sync enabled and uses Xamarin to work cross-platform

Skanska created a cross-device application that drew crucial construction and environmental data from the cloud in order to safeguard hospitals.

Revolutionize business

And now, a story

10 minute service window!

Online appointment booking!

Push notifications and SMS alerts!

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

Fabrikam Kable

Demo

Technician client app

Later, Service Technician closes out work order on mobile device

LOGIC APPS

CustomerNotifications

WEB APPS

API APPS

http SQL

Customer ValetWeb App

MOBILE APPS

CustomerApp Backend

TechnicianApp Backend

What’s new inAzure Mobile Apps?

Offline sync

Push Notifications

Data connections

User Authentication

Azure Mobile Services

Windows

iOS

Android

HTML 5/JS

Xamarin

PhoneGap

Sencha

WindowsAndroid

Chrome

iOS OSX

In-AppKindle

Facebook

Twitter Microsoft Google

Azure Active

Directory

Mobile SDKs

SQL MongoTables O365

Offline Sync

REST API

Backend code

.NET

Node.jsAPI Apps

Azure Mobile Apps

Web App

New hosting benefitsCourtesy of Azure Web Apps (aka Azure Websites)

Richer monitoring and alertingTraffic managerCustom CNAMEsVNET and VPNBackup and restoreMore VM size and instance optionsIn production A/B testingAuto load-balance

Share capacity across Web and MobileStaging 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

App Service Platform View (Runtime)

API Apps

Web Apps

Mobile Apps

Logic Apps

Demo

Azure Preview Portal

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 ServicesWith Azure Mobile Apps, you have more control over your compute environment

All the hosting benefits of Web Apps at the same price

Azure Mobile App is still in previewThis 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

Your existing investments are safe

After General Availability, you choose when to migrate to Azure Mobile Apps

Fabrikam KableMobile Backend

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

Fabrikam Kable

Mobile App backend reads from SQL and writes through to CRM

Fabrikam Kable

Demo

Mobile App backend code

Azure MobileOffline data sync

The best mobile apps handle network interruptions gracefully.

Adding offline sync to an app is usually hard.

With Azure Mobile, it’s easy.

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?

• 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

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

Fabrikam Kable

Demo

Field Engineer client app

Handle client sync conflictsClientconflict resolution

Serverconflict resolution

▲, 1■, 2

●, 2

■, 2

Detect Conflicts with Optimistic Concurrency

Device 1Server

Device 2

▲, 1 ▲, 1

▲, 1 ▲, 1

▲, 1

■, 2

▲, 1

Create

Fetch

Update

Update

■, 2 ✘

Demo

Backend conflict handling

Summary: Azure Mobile offline syncLightweight and composable

Eliminates burdens of database-to-database sync

Works with a variety of server data storesSQL, Azure Tables, Mongo, Dynamics CRM, Salesforce, etc.

Multi-platform client SDKsWindows Universal, Xamarin, iOS, Android

Summary: Azure Mobile offline syncSupports both “primarily online” and “occasionally connected” scenarios

Explicit push and pull leaves control to the developer

Flexible and powerfulSupports custom local storage layersDetect 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 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 ServiceFriday 12:30pm

New hosting option: App Service Environments

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

Announcing: Xamarin Library for Azure Storage

SummaryAzure Mobile Apps = Mobile Services + App ServiceConnect to API Apps and SaaS connectorsHarness the full power of Azure Web Apps for your mobile backendEasily build sync-enabled mobile client apps

UpcomingBRK1450 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 recordingBRK3707 Agile Development in Practice: Tips and Tricks for Modernized DevDevOps features in Azure Web Apps

Related

Try it nowTry Azure Mobile App for free!

No credit card required!Go to aka.ms/TryMobileApp

Learn moreGo to aka.ms/AppServiceMobile

Tweet @azuremobile @lindydonna

Visit Myignite at http://myignite.microsoft.com or download and use the Ignite Mobile App with the QR code above.

Please evaluate this sessionYour feedback is important to us!

© 2015 Microsoft Corporation. All rights reserved.