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

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

Upload: zelig

Post on 23-Mar-2016

39 views

Category:

Documents


0 download

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

Page 1: Mobilitet för företag och organisationer Mikael Håkansson

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

Page 2: Mobilitet för företag och organisationer Mikael Håkansson

Enterprise Mobility IntegrationBusiness IntelligenceClient infrastructureBusiness ConsultantMobile Developer

Page 3: Mobilitet för företag och organisationer Mikael Håkansson

Back-endApp

Consumer app

Back-endApp

Enterprise app

Page 4: Mobilitet för företag och organisationer Mikael Håkansson

Challenges

Format?Transport? Availability?

Security? LOB System

Distribution? Management?

Native? Web?

Hybrid?

?

Page 5: Mobilitet för företag och organisationer Mikael Håkansson

Outline

Transport & Format

Availability Security & Authenticatio

n

Building native

applications

Mobile communication patterns

Q & A

Break 21:0018:00

Page 6: Mobilitet för företag och organisationer Mikael Håkansson

WCF | REST | JSONAZURE | Service Bus | ACS

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

Page 7: Mobilitet för företag och organisationer Mikael Håkansson

Challenge #1 – Transport & Format

LOB System

BizTalk

REST/JSON ?

Page 8: Mobilitet för företag och organisationer Mikael Håkansson

REST (in short)

ProtocolBody FormatData FormatSupported Verbs

SOAP

HTTP(S)SOAP EnvelopeXMLPOST

REST

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

Page 9: Mobilitet för företag och organisationer Mikael Håkansson

XML vs JSON<person id=”1234>

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

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

Page 10: Mobilitet för företag och organisationer Mikael Håkansson

XML vs JSON<persons>

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

</person><person id=”5678>

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

</persons>

Page 11: Mobilitet för företag och organisationer Mikael Håkansson

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

Page 12: Mobilitet för företag och organisationer Mikael Håkansson

Demo”WebHttp Adapter”

Page 13: Mobilitet för företag och organisationer Mikael Håkansson

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: Mobilitet för företag och organisationer Mikael Håkansson

Demo”using WCF-Custom adapter”

Page 15: Mobilitet för företag och organisationer Mikael Håkansson

DMZ

Challenge #2 – Availability

LOB System

BizTalk

Page 16: Mobilitet för företag och organisationer Mikael Håkansson

LOB System

Azure

BizTalk

Relay Binding

Challenge #2 – Availability

Page 17: Mobilitet för företag och organisationer Mikael Håkansson

Demo”Azure Service Bus - Relay”

Page 18: Mobilitet för företag och organisationer Mikael Håkansson

LOB System

Gateway

Availability – Check!

Relay

Page 19: Mobilitet för företag och organisationer Mikael Håkansson

Can anyone access my service?????

Page 20: Mobilitet för företag och organisationer Mikael Håkansson

LOB System

BizTalk

Challenge #3 – Security (Access)

Relay

ACS

1

2realm, username, password

Page 21: Mobilitet för företag och organisationer Mikael Håkansson

Demo”Acquire a token from ACS”

Page 22: Mobilitet för företag och organisationer Mikael Håkansson

Challenge #4 – Federated Authentication

Page 23: Mobilitet för företag och organisationer Mikael Håkansson

Challenge #4 – Federated Authentication

STS

”issuer”

Relay

Trust”token”

”relying party application”

Page 24: Mobilitet för företag och organisationer Mikael Håkansson

LOB System

BizTalk

Challenge #4 – Federated Authentication

Relay

Active Directory

ADFS

ACS

SAML

Page 25: Mobilitet för företag och organisationer Mikael Håkansson

Demo”Acquire a token from ADFS”

Page 26: Mobilitet för företag och organisationer Mikael Håkansson

LOB System

BizTalk

Challenge #4 – Federated Authentication

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT

realm, username, password

SAML

Page 27: Mobilitet för företag och organisationer Mikael Håkansson

Demo”Acquire a token from ACS using a SAML

token”

Page 28: Mobilitet för företag och organisationer Mikael Håkansson

<part1/>

up next: Building Mobile Apps

Page 29: Mobilitet för företag och organisationer Mikael Håkansson

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: Mobilitet för företag och organisationer Mikael Håkansson

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

Page 31: Mobilitet för företag och organisationer Mikael Håkansson

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: Mobilitet för företag och organisationer Mikael Håkansson

Building Native Apps using Visual Studio

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

Page 33: Mobilitet för företag och organisationer Mikael Håkansson

Xamarin - Architecture

REUSE

Page 34: Mobilitet för företag och organisationer Mikael Håkansson

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

Works with Visual Studio

Page 35: Mobilitet för företag och organisationer Mikael Håkansson

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

Page 36: Mobilitet för företag och organisationer Mikael Håkansson

MonoTouch.Dialog - Elements API

UINavigationController- DialogViewController - RootElement - Section - Element

Page 37: Mobilitet för företag och organisationer Mikael Håkansson

Demo”Building an iOS Application using Visual

Studio”

Page 38: Mobilitet för företag och organisationer Mikael Håkansson

LOB System

BizTalk

Complete demo!

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT/JWT

Page 39: Mobilitet för företag och organisationer Mikael Håkansson

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: Mobilitet för företag och organisationer Mikael Håkansson

Mobile communication patternsBizTalkRequest/Reply

Page 41: Mobilitet för företag och organisationer Mikael Håkansson

Mobile communication patternsBizTalk

BizTalk

Request/Reply

Fire n’ forget

Page 42: Mobilitet för företag och organisationer Mikael Håkansson

Mobile communication patternsBizTalk

BizTalk

Request/Reply

Fire n’ forget

BizTalkCallback

Page 43: Mobilitet för företag och organisationer Mikael Håkansson

Mobile communication patternsBizTalk

BizTalk

BizTalk

Request/Reply

Fire n’ forget

Cache

BizTalkCallback

Page 44: Mobilitet för företag och organisationer Mikael Håkansson

Mobile communication patternsBizTalk

BizTalk

BizTalk

Request/Reply

Fire n’ forget

Cache

BizTalkCallback

Page 45: Mobilitet för företag och organisationer Mikael Håkansson

Tack för mig…

Page 46: Mobilitet för företag och organisationer Mikael Håkansson

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: Mobilitet för företag och organisationer Mikael Håkansson

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

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

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

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

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

Azure Service Busbit.ly/1cw2K0I

Xamarinhttp://xamarin.com/