Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps
-
Upload
guy-barrette -
Category
Technology
-
view
181 -
download
0
Transcript of Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps
![Page 1: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/1.jpg)
Guy BarretteFreelance Architect/DeveloperAzure MVP, Microsoft Regional Directors [email protected]
Connected & Disconnected Apps with Azure Mobile Apps
![Page 2: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/2.jpg)
Quick introduction overview ofAzure Mobile App
![Page 3: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/3.jpg)
• Common mobile challenges• Azure overview• Why Azure Mobile App?• Demo• Offline/Sync• Push notifications• Get started!
Agenda
![Page 4: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/4.jpg)
Common Mobile Challenges
![Page 5: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/5.jpg)
Backend Data
Offline/Sync
Sign-on Notifications
Scaling
![Page 6: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/6.jpg)
What about a backend?
![Page 7: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/7.jpg)
Plenty of Options
Amazon Web Services
Azure Mobile Apps IBM MobileFirst
Oracle Mobile Cloud
SQLCIipher
Couchbase Realm
SQLite-net
![Page 8: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/8.jpg)
Azure
![Page 9: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/9.jpg)
![Page 10: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/10.jpg)
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
![Page 11: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/11.jpg)
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
![Page 12: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/12.jpg)
Web Apps
Logic Apps
Mobile Apps
API Apps
http SQL
Customer site
Administration App
Order Completed
Customer App
![Page 13: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/13.jpg)
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
![Page 14: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/14.jpg)
• 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?
![Page 15: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/15.jpg)
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#
![Page 16: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/16.jpg)
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
![Page 17: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/17.jpg)
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
?
![Page 18: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/18.jpg)
![Page 19: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/19.jpg)
DemoLet’s add a backend
![Page 20: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/20.jpg)
Always connected?
![Page 21: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/21.jpg)
http://opensignal.com/coverage-maps
![Page 22: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/22.jpg)
![Page 23: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/23.jpg)
![Page 24: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/24.jpg)
• 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
![Page 25: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/25.jpg)
• 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
![Page 26: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/26.jpg)
• Easy-to-use, multiplatform scaled push infrastructure that allows you to send push notifications almost anywhere.
Push Notifications
![Page 27: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/27.jpg)
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
![Page 28: Xamarin Dev Days - Connected & Disconnected Apps with Azure Mobile Apps](https://reader033.fdocuments.in/reader033/viewer/2022061500/587155f81a28ab8e5b8b5295/html5/thumbnails/28.jpg)
Questions?