LOB System Gateway Demo the Gateway LOB System Gateway.

44
Mobilitet för företag och organisationer Mikael Håkansson Enfo Zign Microsoft MVP

Transcript of LOB System Gateway Demo the Gateway LOB System Gateway.

Page 1: LOB System Gateway Demo the Gateway LOB System Gateway.

Mobilitet för företag och organisationer

Mikael HåkanssonEnfo Zign

Microsoft MVP

Page 2: LOB System Gateway Demo the Gateway LOB System Gateway.

Enterprise Mobility Integration?Business Intelligence?Client infrastructure?Business Consultant?Mobile Developer?

Page 3: LOB System Gateway Demo the Gateway LOB System Gateway.

Challenges

Format?Transport? Availability?

Security?LOB System

Distribution? Management?

Native? Web?

Hybrid?

?

Page 4: LOB System Gateway Demo the Gateway LOB System Gateway.

Outline

Transport & Format

Availability Security & Authenticatio

n

Web based Applications

Native Applications

Q & A

Break 12:0009:00

Page 5: LOB System Gateway Demo the Gateway LOB System Gateway.

WCF | REST | JSONAZURE | Service Bus | ACS

STS | ADFS | Token based authenticationMVC | ASP.NET

iOS | Android | Windows Phone

Page 6: LOB System Gateway Demo the Gateway LOB System Gateway.

Mikael Hå[email protected]

@wmmihaa

Page 7: LOB System Gateway Demo the Gateway LOB System Gateway.

Challenge #1 – Transport & Format

LOB System

Gateway

REST ?

Page 8: LOB System Gateway Demo the Gateway LOB System Gateway.

REST (in short)

ProtocolBody FormatData FormatSupported Verbs

SOAP

HTTP(S)SOAP EnvelopeXMLPOSTVerb oriented

REST

HTTP(S)AnyXML/JSON/*GET/POST/PUT/DELETEFocus on resources

Page 9: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”the Gateway”

Page 10: LOB System Gateway Demo the Gateway LOB System Gateway.

DMZ

Challenge #2 – Availability

LOB System

Gateway

Page 11: LOB System Gateway Demo the Gateway LOB System Gateway.

LOB System

Azure

Gateway

Relay Binding

Challenge #2 – Availability

Page 12: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”Azure Service Bus - Relay”

Page 13: LOB System Gateway Demo the Gateway LOB System Gateway.

LOB System

Gateway

Availability – Check!

Relay

• Price: ~$15/1.000.000 msgs (<=64kb)• Supports LB• Queues are also available in SB

Page 14: LOB System Gateway Demo the Gateway LOB System Gateway.

Can anyone access my service?????

Page 15: LOB System Gateway Demo the Gateway LOB System Gateway.

LOB System

Gateway

Challenge #3 – Security (Access)

Relay

ACS

1

2realm

, use

rname, p

assword

Page 16: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”Acquire a token from ACS”

Page 17: LOB System Gateway Demo the Gateway LOB System Gateway.

Challenge #4 – Federated Authentication

Page 18: LOB System Gateway Demo the Gateway LOB System Gateway.

Challenge #4 – Federated Authentication

STS

”issuer”

Relay

Trust”token”

”relying party application”

Page 19: LOB System Gateway Demo the Gateway LOB System Gateway.

LOB System

Gateway

Challenge #4 – Federated Authentication

Relay

Active Directory

ADFS

ACS

SAML

Page 20: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”Acquire a token from ADFS”

Page 21: LOB System Gateway Demo the Gateway LOB System Gateway.

LOB System

Gateway

Challenge #4 – Federated Authentication

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT/JWT

realm, username, password

SAML

Page 22: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”Acquire a token from ACS using a SAML

token”

Page 23: LOB System Gateway Demo the Gateway LOB System Gateway.

End part 1

up next: Building Mobile Apps

Page 24: LOB System Gateway Demo the Gateway LOB System Gateway.

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 25: LOB System Gateway Demo the Gateway LOB System Gateway.

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

Welcome

Title:

Description:

Back

Status:

Effort:

Work Order #1

New

17

EditDelet

e

Page 26: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”Building a Web based Application”

Page 27: LOB System Gateway Demo the Gateway LOB System Gateway.

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 28: LOB System Gateway Demo the Gateway LOB System Gateway.

Building Native Apps using Visual Studio

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

Page 29: LOB System Gateway Demo the Gateway LOB System Gateway.

Xamarin - Architecture

REUSE

Page 30: LOB System Gateway Demo the Gateway LOB System Gateway.

Xamarin.MobileCommon API

• Contacts• Camera• Geolocation• Compass & Accelerometer• Notifications

Page 31: LOB System Gateway Demo the Gateway LOB System Gateway.

XamarinConditional Compilation

Page 32: LOB System Gateway Demo the Gateway LOB System Gateway.

Xamarin Studio || Visual StudioImportant! MonoTouch (iOS) needs to compile on a Mac!

Use Xamarin Studio if you want to use xCode to create your UI

Page 33: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”Building my first iPhone app”

Page 34: LOB System Gateway Demo the Gateway LOB System Gateway.

MonoTouch.DialogFramework to programmatically create your user interface using Visual Studio only

• Reflection API (High Level)• Elements API (Lower Level)

Works with Visual Studio

Page 35: LOB System Gateway Demo the Gateway LOB System Gateway.

MonoTouch.Dialog - Reflection API

public class Expense{ [Section("Expense Entry")]

[Entry("Enter expense name")] public string Name;

[Section("Expense Details")]

[Caption("Description")] [Entry] public string Details;

[Checkbox] public bool IsApproved = true;}

Page 36: LOB System Gateway Demo the Gateway LOB System Gateway.

MonoTouch.Dialog - Elements API

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 37: LOB System Gateway Demo the Gateway LOB System Gateway.

MonoTouch.Dialog - Elements API

UINavigationController- DialogViewController - RootElement - Section - Element

Page 38: LOB System Gateway Demo the Gateway LOB System Gateway.

Demo”Building an iOS Application using Visual

Studio”

Page 39: LOB System Gateway Demo the Gateway LOB System Gateway.

LOB System

Gateway

Complete demo!

Relay

ACS

Active Directory

ADFS1

2

3

SAML

SWT/JWT

Page 40: LOB System Gateway Demo the Gateway LOB System Gateway.

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 41: LOB System Gateway Demo the Gateway LOB System Gateway.

TACK!

Mikael Hå[email protected]

@wmmihaa

Page 42: LOB System Gateway Demo the Gateway LOB System Gateway.

Related technologies…

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

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

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

Page 43: LOB System Gateway Demo the Gateway LOB System Gateway.

For more info…

Federated Authentication for Azure Service Busbit.ly/1d1VAPu

Azure Service Busbit.ly/1cw2K0I

Xamarinhttp://xamarin.com/

Page 44: LOB System Gateway Demo the Gateway LOB System Gateway.

Q&A ”Building an iOS Application using Visual

Studio”