Upload
others
View
2
Download
0
Embed Size (px)
Citation preview
The Microsoft Conference 2014
ROOM E
本セッションの目的とゴール
本セッションでは、Contoso ドラッグ株式会社エリアマネージャ村松 健の課題を解決するため、次のソリューションを紹介します。
Microsoft Azure を活用した営業支援モバイルアプリ
3
マイクロソフトのソリューションとその効果
売れ筋商品の把握
SQL Server 2014更新可能な列ストアインデックス
エリアマネージャー自身による自由なデータ分析
Power BI
クラウド
簡単な販売予測
Power BI for
Office 365
改善のための要件: エリアマネージャー村松健の場合
営業支援アプリでエリアマネージャの日常業務を一元化
Windows LOB アプリ
営業支援アプリでエリアマネージャの日常業務を一元化
• 訪問スケジュール、顧客情報、商品情報、売上情報など社内データへリンク
• 棚割りなどの現場写真、訪問レポートなどをサーバーへインプット
The Microsoft Conference 2014
Microsoft Azure によるシステム構成
開発言語
アプリケーションサービス
ネットワークサービス
コンピューティング
認証 システム連携 キャッシュ
データサービス
データ周辺サービス
仮想ネットワーク(VNet to VNet)
仮想ネットワーク(Site to Site)
仮想ネットワーク(Point to Site)
CDN キャッシュサービスバス キューBizTalkサービス
多要素認証Azure Active
Directory
アクセス コントロールサービス
DRサービス
Webサイト(PaaS)
クラウドサービス(PaaS)
仮想マシン(IaaS)
モバイルサービス(PaaS)
Blob テーブル SQLデータベース
マシンラーニング
StorSimple
メディアサービスVisual Studioオンライン
API管理 通知ハブ スケジューラ オートメーション サイト リカバリー
Intelligent Systems Service (IoT)
HPC
ExpressRoute(専用線)
Azureサーチ
Traffic Manager
RemoteApp
Azureバックアップ
HDInsight(Hadoop)
ドキュメントDB
Microsoft Azure 機能マップ
Microsoft Azure システム構成
Microsoft Azure
③ BizTalk Hybrid
Connections
社内ネットワーク
SQL Server
その他のリソースSAP
< >
Hybrid Connection Manager
①マルチデバイス開発とバックエンドの共通化
②社内ドメインによるモバイルアプリの統合認証
③オンプレミスシステムとの連携
The Microsoft Conference 2014
クラウドバックエンドの共通化
モバイルサービスの利点
データベース
マルチデバイスに対応したバックエンドサービスを提供
認証 プッシュ通知 スケール オンプレミス連携
モバイルサービス管理ポータル
バックエンド構成
マルチデバイス対応
プロジェクト入手
Visual Studio プロジェクト概要
Mobile Services
クロスプラットフォーム開発
“フル” ネイティブすべての API が使える
パフォーマンス高コンパイル済パッケージ
C#, .NET , Visual Studio既存資産やスキルを活用
iOS
Android
Xamarin の特徴
Xamarin プロジェクトの入手
Xamarin
iOS 用プロジェクト
Xamarin Studio プロジェクト概要
Mobile Services
ASP.NET Web API バックエンドデバイス非依存の RESTful な HTTP サービスを提供
ASP.NET
Web API
iOSアプリ
Windows
ストアアプリ
Androidアプリ
Webブラウザ
JSON
XML
OData
マルチデバイス
Mobile Services
The Microsoft Conference 2014
DEMOはじめての Mobile Services
モバイルサービスの全体構成
Node.js Express
ASP.NET Web API
SQL Table Storage
Blob Storage
WNS & MPNS
APNS GCM
Mongo DB
Notification Hubs
ソース管理
Facebook Twitter Microsoft GoogleAzure Active
Directory
Windows ストア
iOS
Android
Xamarin
PhoneGap
Sencha
Windows Phone
iOS
Android
HTML 5/JS
クライアント
Hybrid Connections
REST A
PI
The Microsoft Conference 2014
認証機能の追加
Azure Active Directory
オンプレミスADから同期したユーザー
Azure Active Directory と Mobile Services
Microsoft Azure
Active Directory Authentication Library
Azure Active Directory によって保護されたリソースへのログインを可能に
企業ドメインリソースへのシングルサインオンを提供
Windows ストアアプリ、iOS/Android
クロスプラットフォームで利用可能
モバイルアプリ側の認証コード例string authority = “https://login.windows.net/<テナント名>.onmicrosoft.com”;
string resourceURI = “https://サービス名.azure-mobile.net/login/aad";
string clientID = “<Azure Active Directory ポータルから入手した Client App ID>";
AuthenticationContext new AuthenticationContext
AuthenticationResult await
string
// Mobile Services にアクセストークンを付与
JObject JObject
MobileServiceUser await
MobileServiceAuthenticationProvider
Azure AD認証
iPhone から Azure AD ログイン
Azure AD + Mobile Services の認証フロー1) クライアントアプリが ADAL を使っ
てログインを試行。ユーザーが入力したクレデンシャル情報を Azure AD に送信
2) Azure AD は Mobile Services のためのアクセストークンとリフレッシュトークンのペアをADAL に返送
3) クライアントは、当該 アクセストークン を Mobile Service に渡し、Mobile Services トークンに変換して、セッションを継続3
2
1
The Microsoft Conference 2014
DEMOAzure Active Directory によるMobile Services 認証
The Microsoft Conference 2014
オンプレミス連携
BizTalk サービス Hybrid Connections
BizTalk の知識は不要
特別なネットワーク構成は不要(VPN, firewall 成約等)
TCP/HTTP(S) による接続をサポート
Mobile Services
社内ネットワーク
SQL Server
BizTalk Hybrid
Connections
< >
Hybrid
Connection
Manager
その他のリソースSAP
Microsoft Azure
The Microsoft Conference 2014
DEMOHybrid Connections によるオンプレミス連携
まとめ
Microsoft Azure
③ BizTalk Hybrid
Connections
社内ネットワーク
SQL Server
その他のリソースSAP
< >
Hybrid Connection Manager
① マルチデバイス開発とクラウドバックエンドの共通化
② 社内ドメインによるモバイルアプリの統合認証
③ オンプレミスシステムとの連携
関連リソース
http://azure.microsoft.com/ja-jp/services/mobile-services/
http://azure.microsoft.com/ja-jp/develop/mobile/
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on
the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.