佐藤直生 ( さとうなおき ) Twitter @satonaoki Facebook satonaoki http://satonaoki.wordpress.com/ 2010 年 Windows Azure のエバンジェリストとして マイクロソフトに参画 以前は オラクルで Java エバンジェリストとして活動
Twitter 公式ハッシュタグ #javafesta
はじめに アンケートにご協力ください 記入したアンケートは受付に 質問があれば セッション後にお気軽にどうぞ おみやげ ( クラウディアグッズ T シャツ ) 差し上げます
本セッションのテーマ Windows Azure を活用した Windows 8 アプリケーション開発 Windows Azure の最新情報 Windows 8 向けの Windows ストアアプリケーション開発の概要 Windows Azure Mobiles Services を使った効率的な Windows ストアアプリケーション開発について ご紹介します
本セッションの内容 Windows Azure アップデート Windows 8 開発 Windows Azure Mobile Services による Windows Azure & Windows 8 開発
Windows Azure SDK 1.1 SDK 1.3 SDK 1.5 SDK 1.7
Windows Azure
クラウドサービス
仮想マシン ( IaaS ) Windows Server 2012
Start Simple 無料で始めて簡単拡張数秒で準備が完了ビルトインの監視機能 Code Smart Go Live
マイクロソフト オープンソースプロジェクト And More
SQL データベース
NoSQL データベース 3 多重 スキーマレス REST API 大量の動画や画像に最適 3 多重 + DC 間複製 REST API CDN 対応
簡易的 単純なセットアップと管理 E2E セキュリティ 迅速なプロビジョニング エンタープライズ向け 完全な制御 スケーラブル複雑なシナリオに対応
ハイブリッドな基盤構築と運用 仮想ネットワーク
キャッシュ Web インスタンス間でセッション状態とデータを共有 データ層からの読み込み負荷を軽減
メディアサービス エンコーディング
新機能まとめ インメモリキャッシュ ローカル冗長ストレージ 各開発言語, Mac/Linux 向け SDK SQL レポート 仮想マシン Web サイト 仮想ネットワークメディア
本セッションの内容 Windows Azure アップデート Windows 8 開発 Windows Azure Mobile Services による Windows Azure & Windows 8 開発
このパートのスライドは非公開です
本セッションの内容 Windows Azure アップデート Windows 8 開発 Windows Azure Mobile Services による Windows Azure & Windows 8 開発
Windows Azure Mobile Services とは?
キーとなるシナリオ Windows Azure Mobile Services が向いているのは :
構造化されたストレージの利用 Windows Azure SQL Database 単一のデータベースアプリはスキーマで分割可能 AppX.Todoitem AppY.Todoitem データの管理は下記いずれでも可能 ポータル上 SQL 管理ポータル SQL Management Studio REST API
サーバー側ロジック ストレージ用に自動生成されるサービス用 REST API Dynamic な Schema の On/Off が可能 CRUD 操作に対するサーバー側ロジック追加が可能 高度なクエリーの利用が可能
サーバー側ロジック サポートされたモジュール + Globals mssql request console push tables statuscodes mssql.query('select top 1 * from statusupdates', { success: function(results) { console.log(results); } } );
REST API と SQL 型とのマッピング JSON Value Numeric values (integer, decimal, floating point) Boolean DateTime String T-SQL Type Float Bit DateTimeOffset(3) Nvarchar(max)
Push 通知ライフサイクル概要 Cloud Service 1. チャネル URI を要求 2. クラウドサービスに登録 3. 認証とプッシュ通知
Push 通知 Windows Notification Services (WNS) を使って Toast Tile および Badge の各通知を提供 Portal を使って WNS Client に SID をセキュアにパッケージ push.wns.* が提供するのは : プッシュ通知を構成するための クリーンで簡単なオブジェクトモデル WNS を使った認証
認証 * Windows Live を使用した認証 個々の CRUD 操作に対する Table レベルのパーミッション付与 Everyone Anyone with the Application Key Only Authenticated Users Only Scripts and Admins サーバー側スクリプトを使用した更に粒度の細かい制御 user.level: {admin, authenticated, anonymous} user.userid: id or undefined if not authenticated
Diagnostics その他の機能 Diagnostics API 呼び出し CPU 時間 Data 出力 Scale - Compute インスタンスを増やしてスケールアウト VM サイズのスケールアップ Logging console.error( ) console.log( ) Scale - Storage Mobile Services テナントの専用 SQL Database への変更 SQL Database のスケールアップ
Start Windows Azure http://windowsazure.com 90 日無料評価版開発者向け情報 スタートアップ企業月 1,500 時間まで 最大 3 年間 無償 Web 開発企業月 375 時間まで
Windows ストアアプリ開発支援最新情報は常にこちら http://www.facebook.com/5metro Developer Camp http://aka.ms/devcampjp Application Excellence Lab http://aka.ms/aeljp テンプレート & 素材集 http://msdn.microsoft.com/ja-jp/jj556277
まとめ クラウド移行を可能にするシナリオを大幅に拡大 より多くのお客様のクラウド移行を支援 Window 8 アプリのバックエンドとしても最適
最後に アンケートにご協力ください 記入したアンケートは受付に 質問があれば お気軽にどうぞ おみやげ ( クラウディアグッズ T シャツ ) 差し上げます
2012 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.