48
brought to you by BIZTALK SUMMIT 2014, LONDON MARCH 03-04 sessio ns. discussions. networking and more Exposing Operational data to Mobile devices using Windows Azure Kent Weare

Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Embed Size (px)

DESCRIPTION

In this session Kent will take a real world business scenario from the Power Generation industry. The scenario involves real time data collection, power generation commitments made to market stakeholders and current energy prices. A Power Generation company needs to monitor all of these data points to ensure it is maintaining its commitments to the marketplace. When things do not go as planned, there are often significant penalties at stake. Having real time visibility into these business measures and being notified when the business becomes non-compliant becomes extremely important. Learn how Windows Azure and many of its building blocks (Azure Service Bus, Azure Mobile Services) and BizTalk Server 2013 can address these requirements and provide Operations people with real time visibility into the state of their business processes.

Citation preview

Page 1: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

brought to you by

BIZTALK SUMMIT 2014, LONDON

MARCH 03-04sessions. discussions. networking and

more

Exposing Operational data to Mobile devices using Windows AzureKent

Weare

Page 2: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

About me• Senior Enterprise Architect @ Large Power Generation Company• 9+ years working with BizTalk• 7 time Microsoft MVP (BizTalk/Integration)• Author• Blogger• Speaker• Grad Student @ Arizona State University

Page 3: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Agenda• Why are we talking about Mobility here?• Introducing Windows Azure Mobile Services• How does BizTalk participate in Enterprise Mobility Architectures?• Demo• Summary

Page 4: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

…but first

Page 5: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Why are we talking about Mobility here?Every CIO has mobility “on their list”

• What is important to my boss is important to meEnterprise Mobility brings some unique challenges: • Diverse Eco-Systems• Android, Apple, Windows Phone, Windows Store apps

• Skillset fragmentation• Node.js, Angular.js, HTML5 vs XML, XSD, Xlang, WF

• Authentication• Can’t use Facebook credentials to submit timesheet

• Network boundaries• Can’t put everything in the DMZ

• Legacy• Flat files, XML• JSON

• Point to Point is evil!!!• More education is required

Page 6: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

For many Mobile Developers Integration is this confusing

Page 7: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

How do we bridge the gap?

Page 8: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Leverage Platforms

BizTalk Server/Services+

Azure Mobile Services

Page 9: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

simplicity with enablement

http:

//w

ww

.flic

kr.c

om/p

hoto

s/po

pcor

ncx/

3517

6894

78

http:

//w

ww

.flic

kr.c

om/p

hoto

s/da

nzen

/139

7212

05

Page 10: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

IDENTITY

DATA

MESSAGING

CONNECTIVITY

LOGIC

MO

BILE

SER

VICE

S

API

DEVICES

Page 11: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Azure mobile services - feature richProvision cloud-connected app in a few clicks, little code

Support for Android, iOS, HTML5, Windows 8, and Windows Phone 8/7.5

Different clients can share the same backend

Easy authn and authz using Google, Microsoft Account, Facebook, or Twitter

Push notifications

Scheduled tasks support

Backend scripting with Node.js *

Custom API support

Push your code via portal or git

Extend backend with third-party services

Page 12: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Looks great, but…

Page 13: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

SAP

CRM

SQL Server

Oracle

Custom LOB

DEVICES

The Traditional Enterprise Landscape

How do we get from here to there?

Legacy

Page 14: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

IDENTITY

DATA

MESSAGING

CONNECTIVITY

LOGIC

MO

BILE

SER

VICE

S

API

DEVICES

How does BizTalk/Service Bus play a role in this architecture?

MESSAGING

CONNECTIVITY

Page 15: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

SalesForce

NetSuite

Box

FinancialForce

Office365

DEVICES

….and by the way

How do we get from here to there?

Facebook

SuccessFactors

Marketo

Tableau

Azure

Twitter

Amazon

Page 16: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

The alternative…

Page 17: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Enterprise Integration challenges don’t disappear with Mobility …they have only gotten bigger!

Page 18: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Enterprise Mobility Challenges

Format?Mobility Platform?Storage/Cache?

Availability?Security?

LOB System

Mobile Services

SQL Databases

Service Bus

Active Directory

BizTalk Server/Services

“Enterprise Mobility Stack”

Page 19: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Demo Scenario• Deregulated Power Generation company• Power Generator Commitment includes:• Declared: Potential amount of Power available• Dispatched: Actual amount of Power that is being generated

• Some small variance is expected• When a generator doesn’t meet their commitment there are penalties $$$• Over generating is just as bad as under-generating• Not a replacement for a BI or SCADA solution

Page 20: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Scenario #1 – Updating Dashboard

Mobile Services

SQL Database

Service Bus

BizTalk Server 2013

Historian #1 Historian #2 Historian #3

DEVICES

JSON

Page 21: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Scenario #2 – Push Notifications

Mobile Services

SQL Database

Service Bus

BizTalk Server 2013

Historian #1 Historian #2 Historian #3

DEVICES

JSON

Scheduler

Push Notification

Out of boundsNotification

Page 22: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

BizTalk SolutionExpose REST Endpoint

Page 23: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

BizTalk SolutionExpose REST Endpoint

Page 24: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

BizTalk SolutionExpose REST Endpoint

Page 25: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

BizTalk SolutionExpose REST Endpoint

Page 26: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

BizTalk SolutionSimple BizTalk Orchestration

Page 27: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

BizTalk SolutionSB Messaging Adapter

Page 28: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

BizTalk Solution

Custom JSON Pipeline Component *

Page 29: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionProvisioning Service

Page 30: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services Solution

Choosing your platform

Page 31: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionData

Page 32: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services Solution

Data Table

Page 33: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionReading from a Mobile Services table

Var declare = await App.MobileService.GetTable<PlantCommitmentsModel>().Where(x => x.plantname == "NorthWest U.S.").OrderByDescending(x => x.transactiondate).Take(1).ToListAsync();

Page 34: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionScheduling Service

Page 35: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionScheduling Service Configuration

Page 36: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionScheduling Service Script – Pull from Service Bus Queue

Page 37: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionScheduling Service Script – Insert Record

Page 38: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionScheduling Service Script – Creating Notification

Page 39: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services Solution

Scheduling Service Script – Sending Notification

Page 40: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services Solution

Notification – Configuration

Page 41: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Mobile Services SolutionCustom API – Call WABS Bridge

Page 42: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Enterprise

MobilityStack

“Building Mobile Apps for the

Enterprise”

BUYHOLDSELL

Page 43: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Coming

Soon

BizTalk Server 2013 R2• Native JSON Support

Windows Azure Mobile Services• C# backend based on

WebAPI• Offline Support

Page 44: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Updated Certification BookIncludes:• 70-595 Certification Exam• Microsoft Partner Network

Technical Competency Assessment

Available March 10, 2014

Page 45: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices

Resources• Twitter @wearsy• Blog kentweare.blogspot.com• Mobile Services Announcement http://tinyurl.com/lcnrnzg• #msbts

Page 46: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices
Page 47: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices
Page 48: Windows Azure Mobile Services to Exposing Operational Data for Mobile Devices