mobilitet för företag och organisationer mikael håkansson

Post on 23-Mar-2016

39 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

DESCRIPTION

Mobilitet för företag och organisationer Mikael Håkansson. Enterprise Mobility. Integration Business Intelligence Client infrastructure Business Consultant Mobile Developer. Consumer app. App. Back-end. Enterprise app. App. Back-end. Challenges. Native ? Web? Hybrid?. LOB System. - PowerPoint PPT Presentation

TRANSCRIPT

Mobilitet för företag och organisationerMikael Håkansson

Enterprise Mobility IntegrationBusiness IntelligenceClient infrastructureBusiness ConsultantMobile Developer

Back-endApp

Consumer app

Back-endApp

Enterprise app

Challenges

Format?Transport? Availability?

Security? LOB System

Distribution? Management?

Native? Web?

Hybrid?

?

Outline

Transport & Format

Availability Security & Authenticatio

n

Building native

applications

Mobile communication patterns

Q & A

Break 21:0018:00

WCF | REST | JSONAZURE | Service Bus | ACS

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

Challenge #1 – Transport & Format

LOB System

BizTalk

REST/JSON ?

REST (in short)

ProtocolBody FormatData FormatSupported Verbs

SOAP

HTTP(S)SOAP EnvelopeXMLPOST

REST

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

XML vs JSON<person id=”1234>

<name>Magnus Norberg</name></person>

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

XML vs JSON<persons>

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

</person><person id=”5678>

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

</persons>

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

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)

Demo”using WCF-Custom adapter”

DMZ

Challenge #2 – Availability

LOB System

BizTalk

LOB System

Azure

BizTalk

Relay Binding

Challenge #2 – Availability

Demo”Azure Service Bus - Relay”

LOB System

Gateway

Availability – Check!

Relay

Can anyone access my service?????

LOB System

BizTalk

Challenge #3 – Security (Access)

Relay

ACS

1

2realm, username, password

Demo”Acquire a token from ACS”

Challenge #4 – Federated Authentication

Challenge #4 – Federated Authentication

STS

”issuer”

Relay

Trust”token”

”relying party application”

LOB System

BizTalk

Challenge #4 – Federated Authentication

Relay

Active Directory

ADFS

ACS

SAML

Demo”Acquire a token from ADFS”

LOB System

BizTalk

Challenge #4 – Federated Authentication

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT

realm, username, password

SAML

Demo”Acquire a token from ACS using a SAML

token”

<part1/>

up next: Building Mobile Apps

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

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

DetailsTitle:Description:

Back

Status:Effort:

Work Order #1…New17

EditDelet

e

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)

Building Native Apps using Visual Studio

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

Xamarin - Architecture

REUSE

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

Works with Visual Studio

MonoTouch.DialogUIWindow - The Application Window

- UINavigationController - Handles navigations between dialogs

- DialogViewController - A dialog

- RootElement - Top-level container for the items

- Section - Grouping element

- Element - Controls

MonoTouch.Dialog - Elements API

UINavigationController- DialogViewController - RootElement - Section - Element

Demo”Building an iOS Application using Visual

Studio”

LOB System

BizTalk

Complete demo!

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT/JWT

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

Mobile communication patternsBizTalkRequest/Reply

Mobile communication patternsBizTalk

BizTalk

Request/Reply

Fire n’ forget

Mobile communication patternsBizTalk

BizTalk

Request/Reply

Fire n’ forget

BizTalkCallback

Mobile communication patternsBizTalk

BizTalk

BizTalk

Request/Reply

Fire n’ forget

Cache

BizTalkCallback

Mobile communication patternsBizTalk

BizTalk

BizTalk

Request/Reply

Fire n’ forget

Cache

BizTalkCallback

Tack för mig…

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

Related technologies…Windows Azure Active Directoryhttp://bit.ly/15xJ2Io

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

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

For more info…Federated Authentication for Azure Service Busbit.ly/1d1VAPu

Azure Service Busbit.ly/1cw2K0I

Xamarinhttp://xamarin.com/

top related