lob system biztalk demo ”webhttp adapter”

48
Mobilitet för företag och organisationer Mikael Håkansson

Upload: brent-young

Post on 26-Dec-2015

220 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: LOB System BizTalk Demo ”WebHttp Adapter”

Mobilitet för företag och organisationer

Mikael Håkansson

Page 2: LOB System BizTalk Demo ”WebHttp Adapter”

Enterprise Mobility IntegrationBusiness IntelligenceClient infrastructureBusiness ConsultantMobile Developer

Page 3: LOB System BizTalk Demo ”WebHttp Adapter”

Back-end

App

Consumer app

Back-endApp

Enterprise app

Page 4: LOB System BizTalk Demo ”WebHttp Adapter”

Challenges

Format?Transport? Availability?

Security?LOB System

Distribution? Management?

Native? Web?

Hybrid?

?

Page 5: LOB System BizTalk Demo ”WebHttp Adapter”

Outline

Transport & Format

Availability Security & Authenticatio

n

Building native

applications

Mobile communication patterns

Q & A

Break 21:0018:00

Page 6: LOB System BizTalk Demo ”WebHttp Adapter”

WCF | REST | JSONAZURE | Service Bus | ACS

STS | ADFS | Token based authenticationiOS | Android | Windows Phone

Page 7: LOB System BizTalk Demo ”WebHttp Adapter”

Challenge #1 – Transport & Format

LOB System

BizTalk

REST/JSON ?

Page 8: LOB System BizTalk Demo ”WebHttp Adapter”

REST (in short)

ProtocolBody FormatData FormatSupported Verbs

SOAP

HTTP(S)SOAP EnvelopeXMLPOST

REST

HTTP(S)AnyXML/JSON/*GET/POST/PUT/DELETE

Page 9: LOB System BizTalk Demo ”WebHttp Adapter”

XML vs JSON

<person id=”1234><name>Magnus Norberg</name>

</person>

{ "id": “1324", "name": “Magnus Norberg"}

Page 10: LOB System BizTalk Demo ”WebHttp Adapter”

XML vs JSON

<persons><person id=”1234>

<name>Magnus Norberg</name></person><person id=”5678>

<name>Kritster Ranta</name></person>

</persons>

Page 11: LOB System BizTalk Demo ”WebHttp Adapter”

XML vs JSON[ { "id": "1234", "name": ”Magnus Norberg" }, { "id": "5678", "name": ”Krister Ranta" }]

Page 12: LOB System BizTalk Demo ”WebHttp Adapter”

Demo”WebHttp Adapter”

Page 13: LOB System BizTalk Demo ”WebHttp Adapter”

REST with BizTalk Server 2013

• GET- & DELETE payload is passed in context only• Only supports XML (BUG)• Exception handling is difficult• Limited to Isolated host (IIS)• Doesn’t work with Service Bus (BUG)

Page 14: LOB System BizTalk Demo ”WebHttp Adapter”

Demo”using WCF-Custom adapter”

Page 15: LOB System BizTalk Demo ”WebHttp Adapter”

DMZ

Challenge #2 – Availability

LOB System

BizTalk

Page 16: LOB System BizTalk Demo ”WebHttp Adapter”

LOB System

Azure

BizTalk

Relay Binding

Challenge #2 – Availability

Page 17: LOB System BizTalk Demo ”WebHttp Adapter”

Demo”Azure Service Bus - Relay”

Page 18: LOB System BizTalk Demo ”WebHttp Adapter”

LOB System

Gateway

Availability – Check!

Relay

Page 19: LOB System BizTalk Demo ”WebHttp Adapter”

Can anyone access my service?????

Page 20: LOB System BizTalk Demo ”WebHttp Adapter”

LOB System

BizTalk

Challenge #3 – Security (Access)

Relay

ACS

1

2realm

, use

rname, p

assword

Page 21: LOB System BizTalk Demo ”WebHttp Adapter”

Demo”Acquire a token from ACS”

Page 22: LOB System BizTalk Demo ”WebHttp Adapter”

Challenge #4 – Federated Authentication

Page 23: LOB System BizTalk Demo ”WebHttp Adapter”

Challenge #4 – Federated Authentication

STS

”issuer”

Relay

Trust”token”

”relying party application”

Page 24: LOB System BizTalk Demo ”WebHttp Adapter”

LOB System

BizTalk

Challenge #4 – Federated Authentication

Relay

Active Directory

ADFS

ACS

SAML

Page 25: LOB System BizTalk Demo ”WebHttp Adapter”

Demo”Acquire a token from ADFS”

Page 26: LOB System BizTalk Demo ”WebHttp Adapter”

LOB System

BizTalk

Challenge #4 – Federated Authentication

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT

realm, username, password

SAML

Page 27: LOB System BizTalk Demo ”WebHttp Adapter”

Demo”Acquire a token from ACS using a SAML

token”

Page 28: LOB System BizTalk Demo ”WebHttp Adapter”

<part1/>

up next: Building Mobile Apps

Page 29: LOB System BizTalk Demo ”WebHttp Adapter”

Building Mobile Apps

Native Web basedTightly integratedHomogeneous design

Require developer specialistsDesignated distribution channelTime consuming

Development standardsSimplified deploymentRapid development

Not integrated with deviceGeneric design

HybidTightly integratedSimplified deploymentRapid development

Generic design

Page 30: LOB System BizTalk Demo ”WebHttp Adapter”

The Work Order ApplicationWelcome

Name: Demo

Password: ****

Login

Work Orders

Work Order #1

Work Order #2

Work Order #3

Work Order #4

Work Order #5

Details

Title:

Description:

Back

Status:

Effort:

Work Order #1

New

17

EditDelet

e

Page 31: LOB System BizTalk Demo ”WebHttp Adapter”

Building Native Apps using Visual Studio

• Cross-platform .Net Framework• Founded in 2001 by Novel• Mono 1.0 released in 2004• Supported by Xamarin in 2011• Now supports both iOS

(MonoTouch) and Android (Mono for Android)

Page 32: LOB System BizTalk Demo ”WebHttp Adapter”

Building Native Apps using Visual Studio

• C# only• Compiles to native code• Native UX controls• Huge community• Xamarin Studio | Visual Studio

Page 33: LOB System BizTalk Demo ”WebHttp Adapter”

Xamarin - Architecture

REUSE

Page 34: LOB System BizTalk Demo ”WebHttp Adapter”

MonoTouch.DialogFramework to programmatically create standard user interface using code only

Works with Visual Studio

Page 35: LOB System BizTalk Demo ”WebHttp Adapter”

MonoTouch.Dialog

UIWindow - The Application Window

- UINavigationController - Handles navigations between dialogs

- DialogViewController - A dialog

- RootElement - Top-level container for the items

- Section - Grouping element

- Element - Controls

Page 36: LOB System BizTalk Demo ”WebHttp Adapter”

MonoTouch.Dialog - Elements API

UINavigationController- DialogViewController - RootElement - Section - Element

Page 37: LOB System BizTalk Demo ”WebHttp Adapter”

Demo”Building an iOS Application using Visual

Studio”

Page 38: LOB System BizTalk Demo ”WebHttp Adapter”

LOB System

BizTalk

Complete demo!

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT/JWT

Page 39: LOB System BizTalk Demo ”WebHttp Adapter”

Mobile communication patternsusing Azure Mobile Services

• Data (SQL Azure + node.js)• API (node.js)• Scheduler (node.js)• Push• Identity• Preconfigured apps for all platforms

Page 40: LOB System BizTalk Demo ”WebHttp Adapter”

Mobile communication patterns

BizTalkRequest/Reply

Page 41: LOB System BizTalk Demo ”WebHttp Adapter”

Mobile communication patterns

BizTalk

BizTalk

Request/Reply

Fire n’ forget

Page 42: LOB System BizTalk Demo ”WebHttp Adapter”

Mobile communication patterns

BizTalk

BizTalk

Request/Reply

Fire n’ forget

BizTalkCallback

Page 43: LOB System BizTalk Demo ”WebHttp Adapter”

Mobile communication patterns

BizTalk

BizTalk

BizTalk

Request/Reply

Fire n’ forget

Cache

BizTalkCallback

Page 44: LOB System BizTalk Demo ”WebHttp Adapter”

Mobile communication patterns

BizTalk

BizTalk

BizTalk

Request/Reply

Fire n’ forget

Cache

BizTalkCallback

Page 45: LOB System BizTalk Demo ”WebHttp Adapter”

Tack för mig…

Page 46: LOB System BizTalk Demo ”WebHttp Adapter”

About Xamarin

Starter• Publish to app stores• Xamarin Studio• Size capped to 32kb• Build your first app!

Indie• Xamarin Studio• Unlimited app size• 1 Year Subscription• Licensed per user

Business• Business Features• Email Support• Xamarin Studio• Visual Studio Support• 1 Year Subscription• Licensed per seat

Enterprise• Priority Support (SLA)• Premium Components• Xamarin Studio• Visual Studio Support• 1 Year Subscription• Licensed per seat

Free $299 $999 $1899

Page 47: LOB System BizTalk Demo ”WebHttp Adapter”

Related technologies…

Windows Azure Active Directoryhttp://bit.ly/15xJ2Io

Windows Azure Mobile Serviceshttp://bit.ly/188Llcg

Microsoft BizTalk Serviceshttp://bit.ly/11ELOcK

Page 48: LOB System BizTalk Demo ”WebHttp Adapter”

For more info…

Federated Authentication for Azure Service Busbit.ly/1d1VAPu

Azure Service Busbit.ly/1cw2K0I

Xamarinhttp://xamarin.com/