Building a Cross-Platform Mobile App Backend in the Cloud

31
AgeofMobility.com

Transcript of Building a Cross-Platform Mobile App Backend in the Cloud

Page 1: Building a Cross-Platform Mobile App Backend in the Cloud

AgeofMobility.com

Page 2: Building a Cross-Platform Mobile App Backend in the Cloud

http://www.bigbaldapps.com

www.AgeofMobility.com

@ActiveNick

Who is ActiveNick?

2005-20142013-2014

Page 3: Building a Cross-Platform Mobile App Backend in the Cloud

Session Agenda

Page 4: Building a Cross-Platform Mobile App Backend in the Cloud

Audience poll…

Page 5: Building a Cross-Platform Mobile App Backend in the Cloud

*not including those purely doing it for fun or learning purposes

Developer Economics | State of the Developer Nation Q1 2015 | © VisionMobile – http://vmob.me/DE1Q15

Page 6: Building a Cross-Platform Mobile App Backend in the Cloud
Page 7: Building a Cross-Platform Mobile App Backend in the Cloud

Clutch Survey | Cost to Build a Mobile App, Jan 2015 | © Clutch – http://bit.ly/1KTu2vj

Page 8: Building a Cross-Platform Mobile App Backend in the Cloud

Running Your Stuff in the Cloud

Microsoft

Azure

Page 9: Building a Cross-Platform Mobile App Backend in the Cloud

Cloud Computing Models

Page 10: Building a Cross-Platform Mobile App Backend in the Cloud

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

Page 11: Building a Cross-Platform Mobile App Backend in the Cloud

App Service Application Composition

Web Apps Mobile AppsLOGIC Apps

API Apps

Page 12: Building a Cross-Platform Mobile App Backend in the Cloud

Node.js Express

.NET Web API

SQL Table Storage

Blob Storage

WNS & MPNS

APNS GCM

Mongo DB

Notification Hubs

Source Control

Facebook Twitter Microsoft Google Azure Active Directory

Windows Store

iOS

Android

Xamarin

Phonegap

Sencha

Windows Phone

iOS

Android

HTML 5/JS

SDKs

REST A

PI

Hybrid Connections

Azure Mobile Services is now App Services

Page 13: Building a Cross-Platform Mobile App Backend in the Cloud

Action HTTP Verb URL Suffix

Create POST /TodoItem

Read GET /TodoItem?$filter=id%3D42

Update PATCH /TodoItem/id

Delete DELETE /TodoItem/id

Data Operations and their REST Equivalents

Base REST API Endpoint URL

https://mymobileservice.azure-mobile.net/tables/*

Odata protocol

LINQ support for

the C# SDK

A Basic table

Page 14: Building a Cross-Platform Mobile App Backend in the Cloud

Demo:

Azure Mobile Services

Page 15: Building a Cross-Platform Mobile App Backend in the Cloud

Push notification lifecycle

Registration at app launch1.

2.

Sending Notification1.

2.

Maintenance1.

Platform

Notification

Service

App back-end

Page 16: Building a Cross-Platform Mobile App Backend in the Cloud

Challenges of push notifications

Page 17: Building a Cross-Platform Mobile App Backend in the Cloud

Using Notification Hubs

One-time set up1.

Register1.

2.

Send Notification1.

2.

APNs WNS

Notification Hub

App back-end

iOS app Windows app

MPNS

GCM

ADM

Page 18: Building a Cross-Platform Mobile App Backend in the Cloud

Demo:

Push Notifications

Page 19: Building a Cross-Platform Mobile App Backend in the Cloud

Advantages of using Notification Hubs

Page 20: Building a Cross-Platform Mobile App Backend in the Cloud

Summary

Page 22: Building a Cross-Platform Mobile App Backend in the Cloud

Technical Resources for Cloud Devs

http://aka.ms/trymsazure

https://manage.windowsazure.com

https://portal.azure.com/

http://channel9.msdn.com/Shows/Cloud+Cover

http://friday.azure.com

http://aka.ms/azurechatrblog

http://aka.ms/vsc2013

Page 23: Building a Cross-Platform Mobile App Backend in the Cloud

http://insider.windows.com

http://www.buildwindows.com

http://aka.ms/win10devmva

http://news.microsoft.com/windows10story

is coming this summer! (7/29)

Page 24: Building a Cross-Platform Mobile App Backend in the Cloud

Technical Resources for Windows Devs

http://aka.ms/vsc2013

http://aka.ms/wpdevsetup

http://blogs.windows.com/buildingapps

www.dvlup.com

http://appstudio.windows.com

www.AgeofMobility.com

http://flip.it/95YFG

http://aka.ms/wp81js

https://code.msdn.microsoft.com/windowsapps/Universal-Windows-app-cb3248c3

Page 25: Building a Cross-Platform Mobile App Backend in the Cloud

The best Integrated Development

Environment (IDE) for…

Mobile, Web, Cross-Platform,

Cloud, Games, Open Source,

Hardware/IoT, , Desktop, etc.

http://aka.ms/vsc2013

Visual StudioCommunity Edition

Mobile App Development:

• Universal Windows apps for Windows Phone &

Windows tablets, hybrids, laptops & desktops

• Mobile Hybrid apps with Cordova

• Mobile Web apps with HTML5 & JavaScript

• Native iOS & Android apps with Xamarin

Web Applications: ASP.NET, HTML5, SPAs, Python,

support for 100% client-side JavaScript frameworks

Cloud Development with Azure in .NET or Node

C# Scripting Editor for Unity Games

Arduino Sketches, .NET Micro Framework, IoT, etc.

Windows Desktop apps, Office apps, C#, C++, VB, F#,

JavaScript, Node, Python, Ruby, and more…

Page 26: Building a Cross-Platform Mobile App Backend in the Cloud

Visual Studio 2015 RC withUniversal Windows App Development Tools

Download Now!!!

Install latest Windows 10 OS Preview

insider.windows.com

Install VS 2015 RC w/ Universal Windows SDK & Tools

www.visualstudio.com

Build your first Universal Windows

App

Page 27: Building a Cross-Platform Mobile App Backend in the Cloud

BizSpark

BizSpark

3 years of

Microsoft software:

MSDN Ultimate

Subscriptions

$150 / month in

Azure cloud credits.

Office 365 Developer

Up to 5 users per

BizSpark account

per startup

Technical & product

support. Offers from

network partners

Marketing visibility.

Events. Ecosystem

Connections.

http://aka.ms/bizsparkapply

Page 28: Building a Cross-Platform Mobile App Backend in the Cloud

Watch all sessions on demand at

http://channel9.msdn.com/events/build/2015

Page 29: Building a Cross-Platform Mobile App Backend in the Cloud

Online Microsoft training delivered by experts to help technologists continually learn

Hundreds of courses for developers, IT Pros, students, entrepreneurs and enthusiasts

11 different languages

Over 3M students registered

Build your own Learning Plan

All free!

http://www.microsoftvirtualacademy.com

Page 30: Building a Cross-Platform Mobile App Backend in the Cloud

Universal Windows App Developmentwith Cortana and the Speech SDK

Available for on-demand viewing now: http://aka.ms/CortanaMVA

Page 31: Building a Cross-Platform Mobile App Backend in the Cloud

Thank You!

Slides will be posted on SlideShare. Demos are in GitHub.

Slideshare: www.slideshare.net/ActiveNick

Blog: www.AgeofMobility.com

Twitter: @ActiveNick

Mobile Apps: www.bigbaldapps.com

LinkedIn: www.linkedin.com/in/activenick

GitHub: github.com/ActiveNick

Email: [email protected]