powerpoint presentationdownload.microsoft.com/documents/hk/technet/techdays2014/day2...visual studio...

34

Upload: hoangkhuong

Post on 20-Mar-2018

224 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 2: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 3: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

Page 4: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 5: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 6: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 7: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 8: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 9: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 10: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

Client

Service

Bus

Service

Web Role/

ASP .NET Client/

Device

Worker Role/

Local Server

Service Bus Relay

Page 11: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 12: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 13: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 14: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 15: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

Visual Studio

PowerShell

Portal

Transforms

Schemas

Assemblies

Partnerships

Profiles

Agreements

Partners Certificates

Xml One-Way

EDI X12

Pass-Through

Xml Request

Page 16: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

BizTalk Adapter Service

Server Explorer

(Visual Studio)

PowerShell

CmdLets

Management

Service REST APILob Relay

(Service Host)

Page 17: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

The Client App sends a JSON request to a BizTalk Service endpoint.

{"location": "EUROPE",

"operations": [{"op": "+", "op1": "17", "op2": "52"}, {"op": "-

", "op1": "73", "op2": "31"}]}

The Client App sends a request to ACS to acquire a security token.

ACS issues and returns a security token.

The Client App performs the following actions:

Extracts the wrap access token from the security token issued by ACS and

assigns its value the Authorization HTTP request header.

Creates a SOAP envelope to invoke the XML Request-Reply Bridge.

Send the SOAP envelope to the bridge.

The bridge performs the following actions:

The bridge routes the request to the EUROPE or US service.

The Service Bus Relay Service forwards the message to the target service.

The service returns a response to the bridge via Service Bus Relay Service .

The bridge transforms and returns the response to Client App.

Page 18: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 19: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 20: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 21: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

Windows Store iOS

Android

Windows Phone 8

iOS

Android

HTML 5/JS

SDKs

Server-Side

Scripts

Custom API

Scheduler

Page 22: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 23: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

The HTML5/JS site or Windows Store app sends a JSON request to a custom API.

{"location": "EUROPE",

"operations": [{"op": "+", "op1": "17", "op2": "52"}, {"op": "-", "op1": "73", "op2": "31"}]}

The custom API sends a request to ACS to acquire a security token. ACS issues and returns a security token.

The mobile service performs the following actions: Extracts the wrap access token from the security token issued by ACS and

assigns its value the Authorization HTTP request header. Creates a SOAP envelope to invoke the XML Request-Reply Bridge.

Uses the https Node.js module to send the SOAP envelope to the bridge. The bridge performs the following actions:

The bridge routes the request to the EUROPE or US service. The Service Bus Relay Service forwards the message to the target service. The service returns a response to the bridge via Service Bus Relay Service .

The bridge transforms and returns the response to the mobile service. The custom API uses the xml2js Node.js module to change the format of the

response SOAP message from XML to JSON. The mobile service returns data in JSON format to the client application.

Page 24: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 25: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 26: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

1. The client app (HTML5/JS, Windows Phone 8 or Windows Store app) sends authentication credentials to the mobile service.

2. The mobile service redirects the user to the page of the select authentication provider which validates the credentials (username and password) provided by the user and issues a security token.

3. The mobile service returns its access token to the client application. The user sends a new todo item to the mobile service.

4. The insert script for the TodoItem table handles the incoming call. The script validates the inbound data then invokes the authentication provider via REST using the request module.

5. The script sends a request to ACS to acquire a security token. ACS issues and returns a security token. The script calls BizTalk Server via a Service Bus Relay Service to retrieve the user address.

6. The insert script inserts the new item in the TodoItemtable.

7. The insert script retrieves from the Channel table the channel URI of the Windows Phone 8 and Windows Store apps to which to send push a notification.

8. The sendPushNotification function sends push notifications.

9. The insert script calls the sendMessageToServiceBusfunction that uses the azure module to send a notification to BizTalk Server via a Windows Azure Service Bus queue.

Page 27: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 28: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 29: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 30: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

http://code.msdn.microsoft.com/windowsazure/How-to-integrate-BizTalk-f0195690

http://code.msdn.microsoft.com/How-to-integrate-BizTalk-07fada58

http://msdn.microsoft.com/en-us/library/hh542796(v=VS.103).aspx

http://msdn.microsoft.com/en-us/library/hh709041(v=VS.103).aspx

http://code.msdn.microsoft.com/windowsazure/Service-Bus-Explorer-f2abca5a

Page 31: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

http://code.msdn.microsoft.com/windowsazure/How-to-integrate-a-Mobile-8780500c

http://code.msdn.microsoft.com/windowsazure/How-to-integrate-a-Mobile-1ee6a5ea

http://code.msdn.microsoft.com/windowsazure/How-to-integrate-Mobile-6718aaf2

http://code.msdn.microsoft.com/windowsazure/How-to-integrate-Mobiles-77b25d12

http://code.msdn.microsoft.com/windowsazure/How-to-send-a-large-c36ab70e

Page 32: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store
Page 33: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store

ios (version 6 or below):

Please input the below URL:

http://aka.ms/WAD306

Other platform:

QR Code:

Page 34: PowerPoint Presentationdownload.microsoft.com/documents/hk/technet/techdays2014/Day2...Visual Studio PowerShell Portal Transforms Schemas Assemblies Partnerships ... Windows Store