mobile apps and the cloud

37
By Shahed Chowdhuri Sr. Technical Evangelist Mobile Apps & the Cloud Windows Windows Phone Azure … and more! @shahedC WakeUpAndCode.com

Upload: shahed-chowdhuri

Post on 30-Apr-2015

1.005 views

Category:

Technology


1 download

DESCRIPTION

Learn about how you can build a mobile service in Microsoft's Azure cloud and consume it with a mobile app, across multiple platforms.

TRANSCRIPT

Page 1: Mobile Apps and the Cloud

By Shahed ChowdhuriSr. Technical Evangelist

Mobile Apps & the CloudWindows Windows Phone Azure … and more!

@shahedC

WakeUpAndCode.com

Page 2: Mobile Apps and the Cloud

Agenda

Introduction

> Creating a Mobile Service> Consuming the Service> Publishing the Service

Q&A

Page 3: Mobile Apps and the Cloud

My BackgroundPeriod Background/Experience

1997 – present

Microsoft web/software development

2011 XNA games on XBLIG• 2D Math Panic• Angry Zombie Ninja Cats

2012 Tools for XNA developers• XBLIG Sales Data Analyzer (OnekSoftLabs.com)• XNA Basic Starter Kit (CodePlex)

Online: http://facebook.com/OnekSoftGames

Page 4: Mobile Apps and the Cloud

My Background (continued)Period Background/Experience

2013 • Ninja Cat Runner on Win8, WP8, Web (Construct 2)• Video Q&A with MS Tech Evangelist Frank La Vigne• Founder/Admin of FB groups: Construct2, Xbox One & Unity Indie

Devs

2014 • Public Speaking on Indie Game Development• Joined Microsoft as a Sr. Technical Evangelist• Gallant Glider on Win8, WP8, Web (Construct 2 Universal App)• Cloud Camp presentations in DC Metro area

Video Q&A: http://youtu.be/lRjrQPvVOpo MVA: http://aka.ms/DevGames-Const2

Page 5: Mobile Apps and the Cloud

Official Xbox Magazine

Source: Official Xbox Magazine, March 2014, Page 65

`

Page 6: Mobile Apps and the Cloud

Tools & Technologies

Page 7: Mobile Apps and the Cloud

Introduction

Page 8: Mobile Apps and the Cloud

What is a Mobile Device?

Smartphones

Tablets

Laptops

Netbooks and smaller laptops

Laptop/Tablet hybrids

Page 9: Mobile Apps and the Cloud

What is the Cloud?

“No one understandsthe Cloud!!!”

Page 10: Mobile Apps and the Cloud

Cloud Services: IaaS, PaaS and SaaS    Host Build Consume

  Packaged Software

IaaS: infrastructure as a service

PaaS: Platform as a service

Saas: software as a service

Applications     Self-Managed

  Self-Managed

 Self-Managed

   ManagedBy Vendor

Data

Runtime    ManagedBy Vendor

Middleware

O/S

Virtualization  ManagedBy Vendor

Servers

Storage

Networking

Source: Bret Stateham, Windows Azure evangelist

Page 11: Mobile Apps and the Cloud

In Line with Microsoft’s Vision

“… mobile first, cloud first… ”

Microsoft CEO Satya Nadella

Page 12: Mobile Apps and the Cloud

Creating a Mobile Service

Page 14: Mobile Apps and the Cloud

Create a Mobile Service

Page 15: Mobile Apps and the Cloud

Specify Mobile Service Details

Name for the URL (not the full URL)

Page 16: Mobile Apps and the Cloud

Specify Database Settings

Page 17: Mobile Apps and the Cloud

Verify Status of Mobile Service

Page 18: Mobile Apps and the Cloud

Get Tools & Download Your Solution

Page 19: Mobile Apps and the Cloud

Consuming the Service

Page 20: Mobile Apps and the Cloud

Build Your Solution (update NuGet packages). . .

Page 21: Mobile Apps and the Cloud

Run the Service Locally

Page 22: Mobile Apps and the Cloud

Verify the Service Locally

Page 23: Mobile Apps and the Cloud

Try it out…

Page 24: Mobile Apps and the Cloud

Run Windows Phone App Locally

Page 25: Mobile Apps and the Cloud

Verify Windows Phone App

Page 26: Mobile Apps and the Cloud

Run Windows App Locally

Page 27: Mobile Apps and the Cloud

Verify Windows App Locally

Page 28: Mobile Apps and the Cloud

Publishing the Service

Page 29: Mobile Apps and the Cloud

Publish Your Mobile Service

Page 30: Mobile Apps and the Cloud

Sign In and Select Existing Service

Page 31: Mobile Apps and the Cloud

Complete the Publishing Process

Page 32: Mobile Apps and the Cloud

Verify the Service is Running

Page 33: Mobile Apps and the Cloud

Update App.Xaml.cs (Shared project)

AFTER:• Comment out local

settings• Uncomment server

settings, including key

BEFORE:

Page 34: Mobile Apps and the Cloud

Run Windows Phone Project

Enter a value to test it

Page 35: Mobile Apps and the Cloud

Run Windows project

Enter a value to test it

Page 36: Mobile Apps and the Cloud

Questions?