xamarin dev days - connected & disconnected apps with azure mobile apps
Embed Size (px)
TRANSCRIPT

Guy BarretteFreelance Architect/DeveloperAzure MVP, Microsoft Regional Directors [email protected]
Connected & Disconnected Apps with Azure Mobile Apps

Quick introduction overview ofAzure Mobile App

• Common mobile challenges• Azure overview• Why Azure Mobile App?• Demo• Offline/Sync• Push notifications• Get started!
Agenda

Common Mobile Challenges

Backend Data
Offline/Sync
Sign-on Notifications
Scaling

What about a backend?

Plenty of Options
Amazon Web Services
Azure Mobile Apps IBM MobileFirst
Oracle Mobile Cloud
SQLCIipher
Couchbase Realm
SQLite-net

Azure


INFRASTRUCTURE SERVICES
Media & CDN
Content DeliveryNetwork (CDN)
MediaServices
Analytics & IoT
HDInsight MachineLearning
StreamAnalytics
DataFactory
EventHubs
MobileEngagement
Integration
BiztalkServices
HybridConnections
ServiceBus
StorageQueues
Backup
StorSimple
SiteRecovery
Import/Export
Data
SQLDatabase
DocumentDB
RedisCache Search
Tables
SQL DataWarehouse
Azure AD Connect Health
StorageBLOB Storage
Azure Files
Premium Storage
AD PrivilegedIdentity Mngt
OperationalInsights
Compute
CloudServices
Batch Remote App
ServiceFabric
Developer Services
Visual Studio
ApplicationInsights
Azure SDK
Team Project
ComputeWindows Linux Containers
ActiveDirectory
Multi-FactorAuthentication
Automation
Portal
Key Vault
Store /Marketplace
VM Image Gallery& VM Depot
NetworkingVirtual Network
ExpressRoute
Traffic Manager
Load Balancer
DNS VPN Gateway
Application Gateway
SECURITY & MANAGEMENT PLATFORM SERVICES HYBRID
OPERATIONS
App Platform
Web Apps
MobileApps
APIManagementAPI
Apps
LogicApps
NotificationHubs

API APPSEasily build and
consume APIs in the cloud
WEB APPSWeb apps that scale with
your business
LOGIC APPSAutomate business
process across SaaS and on-premises
MOBILE APPSBuild Mobile apps for
any device
Azure App Service

Web Apps
Logic Apps
Mobile Apps
API Apps
http SQL
Customer site
Administration App
Order Completed
Customer App

REST
API
Offline sync Push Notifications
Data connections
User Authentication
Twitter Microsoft Google
Azure Active
Directory
Azure Mobile Apps
WindowsAndroid
Chrome
iOS OSX
In-AppKindle
Xamarin, iOS, Android & Windows SDKs
Backend code
SQL MongoTables O365 API Apps
Offline Sync

• Flexible• Easy Tables• App Service
• C# SDKs available everywhere:• C#- iOS, Android, & Windows with Xamarin• C# clients, written by C# developers (open source)• C# backend with ASP.NET
• Scalable
Why Azure Mobile App?

Shared C# codebase • 100% native API access • High performance
iOS C# UI
Windows C# UIAndroid C# UI
Shared C# Mobile
C# Server
Shared C# Client/Server
Xamarin Apps + Mobile App C# Backend
C#

Shared C# codebase • 100% native API access • High performance
iOS C# UI
Windows C# UIAndroid C# UI
Shared C# Mobile
Node.JS Server
Shared C# Client/Server
Xamarin Apps + Mobile App Node.JS Backend
JavaScript
Easy

Shared C# codebase • 100% native API access • High performance
iOS C# UI
Windows C# UIAndroid C# UI
Shared C# Mobile
?
?
Shared C# Client/Server
Xamarin Apps + Whatever Backend
?


DemoLet’s add a backend

Always connected?

http://opensignal.com/coverage-maps



• Access data from Mobile Apps 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
Offline Sync - How it works

• Rolling your own account infrastructure is difficult and time-consuming
• Secure your app with prebuilt authentication providers• Facebook• Twitter• Google• Microsoft• Azure AD• Anything OAuth 2
Authentication

• Easy-to-use, multiplatform scaled push infrastructure that allows you to send push notifications almost anywhere.
Push Notifications

Get started!• https://tryappservice.azure.com/• Create a free Mobile App that will live for an hour• No account, no CC required
• Azure free trial• $200 credit to use in the first month
• Visual Studio Dev Essentials• Azure credit ($25/month for 12 months)
• MSDN account?• Azure credit, up to $150/month
• BizSpark• Azure credit, up to $750/month

Questions?