The Microsoft Conference 2014 ROOM E
本セッションの目的とゴール 本セッションでは Contoso ドラッグ株式会社エリアマネージャ村松健の課題を解決するため 次のソリューションを紹介します Microsoft Azure を活用した営業支援モバイルアプリ
改善のための要件: エリア マネージャー 村松健の場合 Windows LOB アプリ マイクロソフトのソリューションとその効果 営業支援アプリでエリアマネージャの 日常業務を一元化 訪問スケジュール 顧客情報 商品情 報 売上情報など社内データへリンク 棚割りなどの現場写真 訪問レポート などをサーバーへインプット クラウド 営業支援アプリで エリアマネージャの 日常業務を一元化 売れ筋商品の把握 SQL Server 2014 更新可能な列ストア インデックス 簡単な販売予測 Power BI for Office 365 エリアマネージャー 自身による 自由なデータ分析 Power BI 3
The Microsoft Conference 2014 Microsoft Azure によるシステム構成
Microsoft Azure 機能マップ 開発言語 アプリケーションサービス メディアサービス Visual Studio オンライン Remote App DR サービス ドキュメント Azure API 管理通知ハブスケジューラオートメーションサイトリカバリー DB サーチ 認証システム連携キャッシュ Azure Active Directory 多要素認証 アクセスコントロールサービス サービスバス キュー BizTalk サービス CDN キャッシュ データサービス データ周辺サービス Blob テーブル SQL データベース StorSimple Azure バックアップ マシンラーニング Intelligent Systems Service (IoT) HDInsight (Hadoop) HPC ネットワークサービス ExpressRoute ( 専用線 ) 仮想ネットワーク (VNet to VNet) 仮想ネットワーク (Site to Site) 仮想ネットワーク (Point to Site) Traffic Manager コンピューティング Web サイト (PaaS) クラウドサービス (PaaS) 仮想マシン (IaaS) モバイルサービス (PaaS)
Microsoft Azure システム構成 1 マルチデバイス開発とバックエンドの共通化 2 社内ドメインによるモバイルアプリの統合認証 3 オンプレミスシステムとの連携 社内ネットワーク Microsoft Azure SQL Server < > 3 BizTalk Hybrid Connections Hybrid Connection Manager SAP その他のリソース
The Microsoft Conference 2014 クラウドバックエンドの共通化
モバイルサービスの利点 マルチデバイスに対応したバックエンド サービスを提供 データベース 認証プッシュ通知スケールオンプレミス連携
モバイルサービス管理ポータル バックエンド構成 マルチデバイス対応 プロジェクト入手
Visual Studio プロジェクト概要 Mobile Services
クロスプラットフォーム開発 Xamarin の特徴 ios フル ネイティブすべての API が使える パフォーマンス高コンパイル済パッケージ Android C#,.NET, Visual Studio 既存資産やスキルを活用
Xamarin プロジェクトの入手 Xamarin ios 用プロジェクト
Xamarin Studio プロジェクト概要 Mobile Services
ASP.NET Web API バックエンド デバイス非依存の RESTful な HTTP サービスを提供 マルチデバイス ios アプリ JSON Windows ストアアプリ Android アプリ XML ASP.NET Web API Web ブラウザ OData Mobile Services
The Microsoft Conference 2014 DEMO はじめての Mobile Services
REST API モバイルサービスの全体構成 クライアント Windows ストア ios Android Xamarin PhoneGap Sencha Node.js Express ASP.NET Web API SQL Table Storage Blob Storage Mongo DB Facebook Twitter Microsoft Google Hybrid Connections Azure Active Directory Windows Phone ios Android HTML 5/JS ソース管理 WNS & MPNS APNS GCM Notification Hubs
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 AuthenticationResult string new AuthenticationContext await // Mobile Services にアクセストークンを付与 JObject JObject MobileServiceUser await Azure AD 認証 MobileServiceAuthenticationProvider
iphone から Azure AD ログイン
Azure AD + Mobile Services の認証フロー 1 2 3 1) クライアントアプリが ADAL を使ってログインを試行 ユーザーが入力したクレデンシャル情報を Azure AD に送信 2) Azure AD は Mobile Services のためのアクセストークンとリフレッシュトークンのペアを ADAL に返送 3) クライアントは 当該アクセストークンを Mobile Service に渡し Mobile Services トークンに変換して セッションを継続
The Microsoft Conference 2014 DEMO Azure Active Directory による Mobile Services 認証
The Microsoft Conference 2014 オンプレミス連携
BizTalk サービス Hybrid Connections BizTalk の知識は不要 特別なネットワーク構成は不要 (VPN, firewall 成約等 ) TCP/HTTP(S) による接続をサポート Microsoft Azure 社内ネットワーク SQL Server < > Mobile Services BizTalk Hybrid Connections Hybrid Connection Manager SAP その他のリソース
The Microsoft Conference 2014 DEMO Hybrid Connections によるオンプレミス連携
まとめ 1 マルチデバイス開発とクラウドバックエンドの共通化 2 社内ドメインによるモバイルアプリの統合認証 3 オンプレミスシステムとの連携 社内ネットワーク Microsoft Azure SQL Server < > 3 BizTalk Hybrid Connections Hybrid Connection Manager SAP その他のリソース
関連リソース 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.