13
// publish / Let’s Geek Out! Backend-as-a-Service Azure Mobile Services

Azure Mobile Services (MBaaS) back-end-as-a-service

Embed Size (px)

DESCRIPTION

Discover the .NET Back-end capabilities of Azure Mobile Services and understand how you can leverage the Data capabilities.

Citation preview

Page 1: Azure Mobile Services (MBaaS) back-end-as-a-service

//publish/

Let’s Geek Out!

Backend-as-a-ServiceAzure Mobile Services

Page 2: Azure Mobile Services (MBaaS) back-end-as-a-service

Who am I?{

“name” : “Sandeep Joshi,“company” : “almpeople”,“userType” : “enthusiastic”“technologies” : [ “.NET”, “Azure”, “Web”, “Mobile”, “Cloud” ],“w8experience” : [ “1 LoB App”, “1 Mobile App”],“blog” : “www.almpeople.com”,“email” : ”[email protected]”,“socialMedia” :

{“twitter” : “@sandeepmvp”}

}

Page 3: Azure Mobile Services (MBaaS) back-end-as-a-service

Agenda• MBaaS Introduction

• Lap around .NET backend

• Data access and offline support

• Q&A

Page 4: Azure Mobile Services (MBaaS) back-end-as-a-service

MBaaS IntroductionAccording to Forrester, MBaaS (Mobile Back end as a service) offerings typically include:

1. Cloud-based storage for mobile data

2. Ability to automatic generate REST-based interfaces to read and write data

3. Internet optimized data access

4. User/security management tools

5. Usage analytics

security of data in the backend and on the apps

solve hard backend problems for developers Scale across clouds

managing users across identity spaces

flexibility to run custom business logic for your apps anywhere

Not just data backend BUT full-feature backend solution

Page 5: Azure Mobile Services (MBaaS) back-end-as-a-service

Azure Mobile Services Features

DataBased on WebAPI

Various data stores supported:

• Azure Databases

• SQL Server on premise/IaaS

• Table Storage

• Mongo DB

Flexible data mapping via auto-mapper

AuthServer flows supported:

• Facebook

• Twitter

• Google

• Microsoft Account

Client flows supported:

• Azure Active Directory

PushUses Notification Hubs integration for high-scale cross-platform push

ToolingRuntime available on NuGet

In-browser test client

Visual Studio support:

• Local F5

• IntelliSense

• First-class deployment via WebDeploy and git

• Remote debugging

Page 6: Azure Mobile Services (MBaaS) back-end-as-a-service

•Programming model (data, scheduled jobs)•Visual Studio tooling•Local and remote debugging•Publish

Lap around the .NET backend

Page 7: Azure Mobile Services (MBaaS) back-end-as-a-service

source

Mobile Servicescompatible WebAPIcontrollers

git

WebDeploy

Commit hook: Build project

WebsiteXDRIVE\site\wwwroot

Mobile Servicescompatible WebAPIcontrollers

Web.config

C:\...\MobileServices

Mobile Servicesruntime

Web.config

website root

load

User database:EF code-first migrationsor custom migrations

App settingsinjected here

Page 8: Azure Mobile Services (MBaaS) back-end-as-a-service

Data access and offline support

Page 9: Azure Mobile Services (MBaaS) back-end-as-a-service

New data model (“greenfield”)

TableController

DataManagerDTO

DTO

Mobile ServiceDevice

SQL Database

BYOD

MongoDB

Table Storage

Page 10: Azure Mobile Services (MBaaS) back-end-as-a-service

Existing data model (“brownfield”)

TableController

DataManagerDTO

DTO

Mobile ServiceDevice

Model

AutoMapper

SQL Azure/BYOD

ExistingTables

SystemPropertiesTable

Page 11: Azure Mobile Services (MBaaS) back-end-as-a-service

Offline support

TableController(with optimistic

concurrency)

Mobile ServiceDevice

SQL Database

BYOD

MongoDB

Table Storage

SQLiteExplicit Push/Pull

Conflict resolution

Page 12: Azure Mobile Services (MBaaS) back-end-as-a-service

Mobile Services .NET Backend

Open SourceBreaking News

Page 13: Azure Mobile Services (MBaaS) back-end-as-a-service

Your Feedback is Important!Thank You!