SlideShare a Scribd company logo
1 of 37
Download to read offline
Windows Azure Mobile Services を使った  
 Android/iOS アプリケーションの構築


佐藤直⽣生  @satonaoki                 鈴鈴⽊木  章太郎郎  @shosuz
Windows  Azure  テクニカルエバンジェリスト     テクニカルエバンジェリスト  兼  MTC  アーキテクト
http://satonaoki.wordpress.com/   http://blogs.msdn.com/b/shosuz
⽇日本マイクロソフト株式会社                    ⽇日本マイクロソフト株式会社
Windows Azure とは
ミ
アプリケーション                                                                                                                             ド
                                                                                                                                     ル
                                                                                                                                     ウ
ネットワーク                Traffic Manager                            Connect                             Virtual Network                 ア
                          (Public Preview)                    (Public Preview)                        (Public Preview)



キャッシュ                                 認証                                                システム連携                                      Media
                                                                    AD                                                             Services

        占有型                                                       Azure
                    共有型
 CDN   キャッシュ                                                 Active Directory                                   キュー
                   キャッシュ                 アクセス制御
       (Preview)                                                (Preview)                サービス  バス


                                               RDB                                                                                   HPC
データ
                   Blob         Table
                                               関連        レポート
                                                                            Datasync
                                                                            (Preview)
                                                                                             Import/Export
                                                                                                                 PIT Restore
                                                                                                               (Limited Preview)
        RDB

                                                                                                                                   Hadoop

ホスティング
                                                                                                                                   Service
                                                                                                                                   (Preview)
                                                    Virtual Machines                Websites            Mobile Services
                            Cloud Services           (Public Preview)             (Public Preview)       (Public Preview)


                                             Windows Azure                                              ファブリック
管理理                                          管理理ポータル                                                    コントローラ
Windows Azure
Mobile Services とは
http://www.windowsazure.com/mobile   Windows 8、iOS、Windows Phone 8、Android

                                     データ
Github
https://github.com/WindowsAzure/
azure-mobile-services


Get started with Mobile
Services for Android
http://www.windowsazure.com/en-us/
develop/mobile/tutorials/get-started-
android/
Github
https://github.com/WindowsAzure/azure-mobile-
services


Get started with Mobile
Services for iOS
http://www.windowsazure.com/en-us/develop/mobile/
tutorials/get-started-ios/
SQL  サーバーの利利⽤用と
サーバーロジックの開発
http://msdn.microsoft.com/en-us/library/windowsazure/jj554226.aspx
プッシュ通知機能の開発
Windows 8



            (2)

                  (3)
     (1)



            (3)
認証連携機能の開発
Live Connect ポータル
                   https://manage.dev.live.com/Applications/
                   Index  




  アプリケーション キーを持つ
  ユーザー(デフォルト値)
まとめ
Windows 8、iOS、Windows Phone 8、Android

データ
Appendix
・データアクセス、プッシュ通知、認証サポート
  Windows 8、Windows Phone 8 SDK、iOS SDK SDK、Android
SDK

・強⼒力力なサーバーサイドスクリプトのサポート
  プッシュ通知、バリデーション、プリプロセッシング、
  ポストプロセッシング、他の  Web サービスとの連携
JSON 値          T-SQL 型
数値 (整数、10 進数、   Float(53)
浮動⼩小数点数)
ブール値            Bit
DateTime        DateTimeOffset(3)
⽂文字列列           Nvarchar(max)
https://dev.twitter.com/
                                        https://dev.twitter.com/apps/new




Register your apps for Twitter login with Mobile Services
http://www.windowsazure.com/en-us/develop/mobile/how-to-guides/register-for-twitter-authentication/
複雑なフィルタリングの例例

Supported Modules + Globals
function  read(query,	
  user,	
  request)	
  {
        query.where(function	
  (userId)	
  {
                   mssql
                return	
  this.UserId	
  ==	
  userId;
        },	
  user.userId);
                   request
        request.execute();
}	
  
                   console
function	
  read(query,	
  user,	
  request)	
  {

                
                   push
        query.where(function	
  (userId)	
  {
                 return	
  this.UserId	
  ==	
  userId	
  &&
                   tables
                            (this.Category	
  ==	
  "Fiction"	
  ||	
  this.Category	
  ==	
  "Action")	
  &&
                              this.Rating	
  >	
  2;
        },	
  user.userId);
                   statusCodes
        request.execute();
 }	
  
 …
Windows 8/Phone 8
var table =

                                               iOS
         MobileService.GetTable <Apartment>;
var Apartments = await table
  .where(a => a.Bedrooms > 2)
  .ToListAsync();                              table = [client getTable : @”apartment”];
                                               NSPredicate* pred = [NSPredicate
                                                   predicateWithFormat:@”bedrooms > 2”];

Android (例例)                                   [tableReadWhere : pred
                                                   completion : ^(NSArray* results,
MobileTable <Apartment> table =                                    NSInteger count,
   service.gettable(Apartment.class);                              Nerror* err) {
List<Apartment> apartments =                        //…
   table.where()                               }];
        .gt(“bedrooms”, 2)
        .select();
push.wns



           push.mpns
Live Connect ポータル
                                               https://manage.dev.live.com/Applications/
                                               Index  




http://msdn.microsoft.com/ja-JP/windows/apps
Windows  ストアアプリポータル
Windows 8
CurrentChannel = await PushNotificationChannelManager
                        .CreatePushNotificationChannelForApplicaionAsync();
Windows Phone 8
CurrentChannel = new HttpNotificationCannel(“ApartmentPushChannel”);
CurrentChannel.Open();
CurrentChannel.BindToShellToast();

Server Side Script
mpns.sendToast(channel.uri, “New Apartment Added”, apartment.address);
wns.sendToat02(channel.uri,
  {text01 : “New Apartment Added”, text02 : apartment.address, });
Visual Studio では  Intellisense  で  Identity Provider  を選択可能
Windows 8 / Windows Phone 8
If (MobileService.CurrentUser == null) {
    var user = await MobileSevice.LoginAsync (
                      MobileServiceAuthenticationProvider.Twitter);


iOS
If (client.currentUser == nil) {
    [client loginViewControllerWithProvider : @”twitter”
              completion : ^(MSUser* user, NSError* err) {
         //…
    }];
}
http://blogs.msdn.com/b/shosuz/archive/2013/01/03/sendgrid-windows-azure-
mobile-services.aspx
診断   拡張 –
     コンピューティング

ログ   拡張 - ストレージ
10  モバイル  
 サービス                      1  GB  SQL




                                        WA  の無料料評価版
                          データベース




  プレビュー期間中は  SLA  なし。S  インスタンスのみ使⽤用可能。プレビュー期間中は、通常の従
  量量課⾦金金料料⾦金金から  33%  割引で予約済みインスタンスにアップグレード可能。
$
共有インスタンス      予約済みインスタンス
(マルチテナント環境)   (プライベート VM)
S インスタンスのみが   S インスタンスのみが
使⽤用可能なサイズ。    使⽤用可能なサイズ。     99.9%
複数購⼊入が可能      複数購⼊入が可能
パブリック プレビュー   プレビューの料料⾦金金は
公開時は無料料       Web サイトと同じ
              割引料料⾦金金になる
Resources
Mobile Services Developer Portal




http://www.windowsazure.com/mobile   34
Event Buddy(iOS)



Tic Tac Toe Leaderboard  
(iOS/Android)


Feedback (iOS/Android)
MiniBlog
http://msdn.microsoft.com/ja-jp/
windowsazure/hh697503
http://blogs.msdn.com/b/shosuz/archive/2013/01/11/windows-‐‑‒azure-‐‑‒new-‐‑‒code-‐‑‒samples-‐‑‒and-‐‑‒
tutorials.aspx                                                                                            37

More Related Content

Similar to Windows Azure Mobile Services を使った Android/iOS アプリケーションの構築

第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要
第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要 第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要
第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要 Daiyu Hatakeyama
 
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)日本マイクロソフト株式会社
 
今後のビジネス モデルに対応する Azure プラットフォーム技術の活用
今後のビジネス モデルに対応する Azure プラットフォーム技術の活用今後のビジネス モデルに対応する Azure プラットフォーム技術の活用
今後のビジネス モデルに対応する Azure プラットフォーム技術の活用Kazuyuki Nomura
 
Windows azure mobile services による mobile + cloud アプリケーション超高速開発
Windows azure mobile services による mobile + cloud アプリケーション超高速開発Windows azure mobile services による mobile + cloud アプリケーション超高速開発
Windows azure mobile services による mobile + cloud アプリケーション超高速開発Shotaro Suzuki
 
RWC2012(ワコムアイティ&テクノプロジェクト)
RWC2012(ワコムアイティ&テクノプロジェクト)RWC2012(ワコムアイティ&テクノプロジェクト)
RWC2012(ワコムアイティ&テクノプロジェクト)Techno Project Co., Ltd.
 
非公式PaaS勉強会~新宿d社会議室
非公式PaaS勉強会~新宿d社会議室非公式PaaS勉強会~新宿d社会議室
非公式PaaS勉強会~新宿d社会議室Daisuke Masubuchi
 
TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)
TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)
TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)CLOUDIAN KK
 
Mashup Award 7 Caravan in Fukuoka
Mashup Award 7 Caravan in FukuokaMashup Award 7 Caravan in Fukuoka
Mashup Award 7 Caravan in FukuokaKazumi Hirose
 
トレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解するトレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解するTakahiro Inoue
 
[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送
[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送
[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送Google Cloud Platform - Japan
 
ドメイン駆動設計 ( DDD ) をやってみよう
ドメイン駆動設計 ( DDD ) をやってみようドメイン駆動設計 ( DDD ) をやってみよう
ドメイン駆動設計 ( DDD ) をやってみよう増田 亨
 
LTEモバイルクラウドセミナ[講演1] R 20101116
LTEモバイルクラウドセミナ[講演1] R 20101116LTEモバイルクラウドセミナ[講演1] R 20101116
LTEモバイルクラウドセミナ[講演1] R 20101116知礼 八子
 
東北クラウド実践カンファレンス2011
東北クラウド実践カンファレンス2011東北クラウド実践カンファレンス2011
東北クラウド実践カンファレンス2011Shinichiro Isago
 
Interactive connection2
Interactive connection2Interactive connection2
Interactive connection2Takao Tetsuro
 
BIGLOBEが提案するすぐに使えるクラウド活用術
BIGLOBEが提案するすぐに使えるクラウド活用術BIGLOBEが提案するすぐに使えるクラウド活用術
BIGLOBEが提案するすぐに使えるクラウド活用術ビジネスBIGLOBE
 
ゲームだけじゃないHTML5
ゲームだけじゃないHTML5ゲームだけじゃないHTML5
ゲームだけじゃないHTML5Osamu Shimoda
 

Similar to Windows Azure Mobile Services を使った Android/iOS アプリケーションの構築 (20)

第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要
第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要 第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要
第29回 SQL Server 勉強会 (JSSUG) - Azure Synapse Analytics 概要
 
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
【de:code 2020】 Azure Synapse Analytics 技術編 ~ 最新の統合分析プラットフォームによる新しい価値の創出(後編)
 
今後のビジネス モデルに対応する Azure プラットフォーム技術の活用
今後のビジネス モデルに対応する Azure プラットフォーム技術の活用今後のビジネス モデルに対応する Azure プラットフォーム技術の活用
今後のビジネス モデルに対応する Azure プラットフォーム技術の活用
 
Synquery ja
Synquery jaSynquery ja
Synquery ja
 
Windows azure mobile services による mobile + cloud アプリケーション超高速開発
Windows azure mobile services による mobile + cloud アプリケーション超高速開発Windows azure mobile services による mobile + cloud アプリケーション超高速開発
Windows azure mobile services による mobile + cloud アプリケーション超高速開発
 
RWC2012(ワコムアイティ&テクノプロジェクト)
RWC2012(ワコムアイティ&テクノプロジェクト)RWC2012(ワコムアイティ&テクノプロジェクト)
RWC2012(ワコムアイティ&テクノプロジェクト)
 
非公式PaaS勉強会~新宿d社会議室
非公式PaaS勉強会~新宿d社会議室非公式PaaS勉強会~新宿d社会議室
非公式PaaS勉強会~新宿d社会議室
 
FukuokaCloud_Azure
FukuokaCloud_AzureFukuokaCloud_Azure
FukuokaCloud_Azure
 
TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)
TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)
TOUA M2M Solutions powered by Cloudian (Cloudian Summit 2012)
 
Mashup Award 7 Caravan in Fukuoka
Mashup Award 7 Caravan in FukuokaMashup Award 7 Caravan in Fukuoka
Mashup Award 7 Caravan in Fukuoka
 
トレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解するトレジャーデータのバッチクエリとアドホッククエリを理解する
トレジャーデータのバッチクエリとアドホッククエリを理解する
 
[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送
[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送
[Cloud OnAir] Talks by DevRel Vol. 1 インフラストラクチャ 2020年7月30日 放送
 
ドメイン駆動設計 ( DDD ) をやってみよう
ドメイン駆動設計 ( DDD ) をやってみようドメイン駆動設計 ( DDD ) をやってみよう
ドメイン駆動設計 ( DDD ) をやってみよう
 
LTEモバイルクラウドセミナ[講演1] R 20101116
LTEモバイルクラウドセミナ[講演1] R 20101116LTEモバイルクラウドセミナ[講演1] R 20101116
LTEモバイルクラウドセミナ[講演1] R 20101116
 
東北クラウド実践カンファレンス2011
東北クラウド実践カンファレンス2011東北クラウド実践カンファレンス2011
東北クラウド実践カンファレンス2011
 
Ajn24
Ajn24Ajn24
Ajn24
 
Interactive connection2
Interactive connection2Interactive connection2
Interactive connection2
 
BIGLOBEが提案するすぐに使えるクラウド活用術
BIGLOBEが提案するすぐに使えるクラウド活用術BIGLOBEが提案するすぐに使えるクラウド活用術
BIGLOBEが提案するすぐに使えるクラウド活用術
 
ゲームだけじゃないHTML5
ゲームだけじゃないHTML5ゲームだけじゃないHTML5
ゲームだけじゃないHTML5
 
XDev2010 WindowsAzure
XDev2010 WindowsAzureXDev2010 WindowsAzure
XDev2010 WindowsAzure
 

More from Shotaro Suzuki

This is how our first offline technical event in three years was able to succ...
This is how our first offline technical event in three years was able to succ...This is how our first offline technical event in three years was able to succ...
This is how our first offline technical event in three years was able to succ...Shotaro Suzuki
 
Introducing the new features of the Elastic 8.6 release.pdf
Introducing the new features of the Elastic 8.6 release.pdfIntroducing the new features of the Elastic 8.6 release.pdf
Introducing the new features of the Elastic 8.6 release.pdfShotaro Suzuki
 
NET MAUI for .NET 7 for iOS, Android app development
 NET MAUI for .NET 7 for iOS, Android app development  NET MAUI for .NET 7 for iOS, Android app development
NET MAUI for .NET 7 for iOS, Android app development Shotaro Suzuki
 
What's New in the Elastic 8.5 Release
What's New in the Elastic 8.5 ReleaseWhat's New in the Elastic 8.5 Release
What's New in the Elastic 8.5 ReleaseShotaro Suzuki
 
Centralized Observability for the Azure Ecosystem
Centralized Observability for the Azure EcosystemCentralized Observability for the Azure Ecosystem
Centralized Observability for the Azure EcosystemShotaro Suzuki
 
What's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 ReleaseWhat's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 ReleaseShotaro Suzuki
 
Power Apps x .NET ~ Transforming Business Applications with Fusion Development
Power Apps x .NET ~ Transforming Business Applications with Fusion DevelopmentPower Apps x .NET ~ Transforming Business Applications with Fusion Development
Power Apps x .NET ~ Transforming Business Applications with Fusion DevelopmentShotaro Suzuki
 
devreljapan2022evaadvoc-final.pdf
devreljapan2022evaadvoc-final.pdfdevreljapan2022evaadvoc-final.pdf
devreljapan2022evaadvoc-final.pdfShotaro Suzuki
 
elastic-mabl-co-webinar-20220729
elastic-mabl-co-webinar-20220729elastic-mabl-co-webinar-20220729
elastic-mabl-co-webinar-20220729Shotaro Suzuki
 
Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Shotaro Suzuki
 
Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...
Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...
Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...Shotaro Suzuki
 
Building a search experience with Elastic – Introducing Elastic's latest samp...
Building a search experience with Elastic – Introducing Elastic's latest samp...Building a search experience with Elastic – Introducing Elastic's latest samp...
Building a search experience with Elastic – Introducing Elastic's latest samp...Shotaro Suzuki
 
Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...
Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...
Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...Shotaro Suzuki
 
Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...
Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...
Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...Shotaro Suzuki
 
Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...
Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...
Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...Shotaro Suzuki
 
What's New in the Elastic 8.2 Release - Seamless User Experience with Search -
What's New in the Elastic 8.2 Release - Seamless User Experience with Search -What's New in the Elastic 8.2 Release - Seamless User Experience with Search -
What's New in the Elastic 8.2 Release - Seamless User Experience with Search -Shotaro Suzuki
 
Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Shotaro Suzuki
 
Building Software Reliability through Distributed Tracing.pdf
Building Software Reliability through Distributed Tracing.pdfBuilding Software Reliability through Distributed Tracing.pdf
Building Software Reliability through Distributed Tracing.pdfShotaro Suzuki
 
Building a Flutter Development Environment with VSCode and Useful Extensions
Building a Flutter Development Environment with VSCode and Useful ExtensionsBuilding a Flutter Development Environment with VSCode and Useful Extensions
Building a Flutter Development Environment with VSCode and Useful ExtensionsShotaro Suzuki
 
Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Shotaro Suzuki
 

More from Shotaro Suzuki (20)

This is how our first offline technical event in three years was able to succ...
This is how our first offline technical event in three years was able to succ...This is how our first offline technical event in three years was able to succ...
This is how our first offline technical event in three years was able to succ...
 
Introducing the new features of the Elastic 8.6 release.pdf
Introducing the new features of the Elastic 8.6 release.pdfIntroducing the new features of the Elastic 8.6 release.pdf
Introducing the new features of the Elastic 8.6 release.pdf
 
NET MAUI for .NET 7 for iOS, Android app development
 NET MAUI for .NET 7 for iOS, Android app development  NET MAUI for .NET 7 for iOS, Android app development
NET MAUI for .NET 7 for iOS, Android app development
 
What's New in the Elastic 8.5 Release
What's New in the Elastic 8.5 ReleaseWhat's New in the Elastic 8.5 Release
What's New in the Elastic 8.5 Release
 
Centralized Observability for the Azure Ecosystem
Centralized Observability for the Azure EcosystemCentralized Observability for the Azure Ecosystem
Centralized Observability for the Azure Ecosystem
 
What's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 ReleaseWhat's New in the Elastic 8.4 Release
What's New in the Elastic 8.4 Release
 
Power Apps x .NET ~ Transforming Business Applications with Fusion Development
Power Apps x .NET ~ Transforming Business Applications with Fusion DevelopmentPower Apps x .NET ~ Transforming Business Applications with Fusion Development
Power Apps x .NET ~ Transforming Business Applications with Fusion Development
 
devreljapan2022evaadvoc-final.pdf
devreljapan2022evaadvoc-final.pdfdevreljapan2022evaadvoc-final.pdf
devreljapan2022evaadvoc-final.pdf
 
elastic-mabl-co-webinar-20220729
elastic-mabl-co-webinar-20220729elastic-mabl-co-webinar-20220729
elastic-mabl-co-webinar-20220729
 
Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...
 
Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...
Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...
Discover what's new in the Elastic 8.3 release - Find, monitor, and protect e...
 
Building a search experience with Elastic – Introducing Elastic's latest samp...
Building a search experience with Elastic – Introducing Elastic's latest samp...Building a search experience with Elastic – Introducing Elastic's latest samp...
Building a search experience with Elastic – Introducing Elastic's latest samp...
 
Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...
Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...
Developing .NET 6 Blazor WebAssemby apps with Radzen Blazor component library...
 
Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...
Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...
Elastic x Microsoft Azure Integration Evolution - Integrated Monitoring for S...
 
Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...
Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...
Building 3D mobile apps using Power Apps Mixed Reality controls, Azure SQL Da...
 
What's New in the Elastic 8.2 Release - Seamless User Experience with Search -
What's New in the Elastic 8.2 Release - Seamless User Experience with Search -What's New in the Elastic 8.2 Release - Seamless User Experience with Search -
What's New in the Elastic 8.2 Release - Seamless User Experience with Search -
 
Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...
 
Building Software Reliability through Distributed Tracing.pdf
Building Software Reliability through Distributed Tracing.pdfBuilding Software Reliability through Distributed Tracing.pdf
Building Software Reliability through Distributed Tracing.pdf
 
Building a Flutter Development Environment with VSCode and Useful Extensions
Building a Flutter Development Environment with VSCode and Useful ExtensionsBuilding a Flutter Development Environment with VSCode and Useful Extensions
Building a Flutter Development Environment with VSCode and Useful Extensions
 
Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...Application development with c#, .net 6, blazor web assembly, asp.net web api...
Application development with c#, .net 6, blazor web assembly, asp.net web api...
 

Recently uploaded

スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムsugiuralab
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Yuma Ohgami
 
Postman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By DanielPostman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By Danieldanielhu54
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものですiPride Co., Ltd.
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)Hiroki Ichikura
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A surveyToru Tamaki
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdftaisei2219
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略Ryo Sasaki
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNetToru Tamaki
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...Toru Tamaki
 

Recently uploaded (10)

スマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システムスマートフォンを用いた新生児あやし動作の教示システム
スマートフォンを用いた新生児あやし動作の教示システム
 
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
Open Source UN-Conference 2024 Kawagoe - 独自OS「DaisyOS GB」の紹介
 
Postman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By DanielPostman LT Fukuoka_Quick Prototype_By Daniel
Postman LT Fukuoka_Quick Prototype_By Daniel
 
SOPを理解する 2024/04/19 の勉強会で発表されたものです
SOPを理解する       2024/04/19 の勉強会で発表されたものですSOPを理解する       2024/04/19 の勉強会で発表されたものです
SOPを理解する 2024/04/19 の勉強会で発表されたものです
 
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
【早稲田AI研究会 講義資料】3DスキャンとTextTo3Dのツールを知ろう!(Vol.1)
 
論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey論文紹介:Semantic segmentation using Vision Transformers: A survey
論文紹介:Semantic segmentation using Vision Transformers: A survey
 
TSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdfTSAL operation mechanism and circuit diagram.pdf
TSAL operation mechanism and circuit diagram.pdf
 
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
[DevOpsDays Tokyo 2024] 〜デジタルとアナログのはざまに〜 スマートビルディング爆速開発を支える 自動化テスト戦略
 
論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet論文紹介:Automated Classification of Model Errors on ImageNet
論文紹介:Automated Classification of Model Errors on ImageNet
 
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
論文紹介:Content-Aware Token Sharing for Efficient Semantic Segmentation With Vis...
 

Windows Azure Mobile Services を使った Android/iOS アプリケーションの構築

  • 1. Windows Azure Mobile Services を使った   Android/iOS アプリケーションの構築 佐藤直⽣生  @satonaoki   鈴鈴⽊木  章太郎郎  @shosuz Windows  Azure  テクニカルエバンジェリスト テクニカルエバンジェリスト  兼  MTC  アーキテクト http://satonaoki.wordpress.com/ http://blogs.msdn.com/b/shosuz ⽇日本マイクロソフト株式会社 ⽇日本マイクロソフト株式会社
  • 2.
  • 4. ミ アプリケーション ド ル ウ ネットワーク Traffic Manager Connect Virtual Network ア (Public Preview) (Public Preview) (Public Preview) キャッシュ 認証 システム連携 Media AD Services 占有型 Azure 共有型 CDN キャッシュ Active Directory キュー キャッシュ アクセス制御 (Preview) (Preview) サービス  バス RDB HPC データ Blob Table 関連 レポート Datasync (Preview) Import/Export PIT Restore (Limited Preview) RDB Hadoop ホスティング Service (Preview) Virtual Machines Websites Mobile Services Cloud Services (Public Preview) (Public Preview) (Public Preview) Windows Azure ファブリック 管理理 管理理ポータル コントローラ
  • 6. http://www.windowsazure.com/mobile Windows 8、iOS、Windows Phone 8、Android データ
  • 7. Github https://github.com/WindowsAzure/ azure-mobile-services Get started with Mobile Services for Android http://www.windowsazure.com/en-us/ develop/mobile/tutorials/get-started- android/
  • 8. Github https://github.com/WindowsAzure/azure-mobile- services Get started with Mobile Services for iOS http://www.windowsazure.com/en-us/develop/mobile/ tutorials/get-started-ios/
  • 12. Windows 8 (2) (3) (1) (3)
  • 14. Live Connect ポータル https://manage.dev.live.com/Applications/ Index   アプリケーション キーを持つ   ユーザー(デフォルト値)
  • 16. Windows 8、iOS、Windows Phone 8、Android データ
  • 17.
  • 19. ・データアクセス、プッシュ通知、認証サポート   Windows 8、Windows Phone 8 SDK、iOS SDK SDK、Android SDK ・強⼒力力なサーバーサイドスクリプトのサポート   プッシュ通知、バリデーション、プリプロセッシング、   ポストプロセッシング、他の  Web サービスとの連携
  • 20. JSON 値 T-SQL 型 数値 (整数、10 進数、 Float(53) 浮動⼩小数点数) ブール値 Bit DateTime DateTimeOffset(3) ⽂文字列列 Nvarchar(max)
  • 21. https://dev.twitter.com/ https://dev.twitter.com/apps/new Register your apps for Twitter login with Mobile Services http://www.windowsazure.com/en-us/develop/mobile/how-to-guides/register-for-twitter-authentication/
  • 22. 複雑なフィルタリングの例例 Supported Modules + Globals function  read(query,  user,  request)  {        query.where(function  (userId)  { mssql                return  this.UserId  ==  userId;        },  user.userId); request        request.execute(); }   console function  read(query,  user,  request)  {                 push        query.where(function  (userId)  { return  this.UserId  ==  userId  && tables                            (this.Category  ==  "Fiction"  ||  this.Category  ==  "Action")  &&                              this.Rating  >  2;        },  user.userId); statusCodes        request.execute(); }   …
  • 23. Windows 8/Phone 8 var table = iOS MobileService.GetTable <Apartment>; var Apartments = await table .where(a => a.Bedrooms > 2) .ToListAsync(); table = [client getTable : @”apartment”]; NSPredicate* pred = [NSPredicate predicateWithFormat:@”bedrooms > 2”]; Android (例例) [tableReadWhere : pred completion : ^(NSArray* results, MobileTable <Apartment> table = NSInteger count, service.gettable(Apartment.class); Nerror* err) { List<Apartment> apartments = //… table.where() }]; .gt(“bedrooms”, 2) .select();
  • 24. push.wns push.mpns
  • 25. Live Connect ポータル https://manage.dev.live.com/Applications/ Index   http://msdn.microsoft.com/ja-JP/windows/apps Windows  ストアアプリポータル
  • 26. Windows 8 CurrentChannel = await PushNotificationChannelManager .CreatePushNotificationChannelForApplicaionAsync(); Windows Phone 8 CurrentChannel = new HttpNotificationCannel(“ApartmentPushChannel”); CurrentChannel.Open(); CurrentChannel.BindToShellToast(); Server Side Script mpns.sendToast(channel.uri, “New Apartment Added”, apartment.address); wns.sendToat02(channel.uri, {text01 : “New Apartment Added”, text02 : apartment.address, });
  • 27. Visual Studio では  Intellisense  で  Identity Provider  を選択可能
  • 28. Windows 8 / Windows Phone 8 If (MobileService.CurrentUser == null) { var user = await MobileSevice.LoginAsync ( MobileServiceAuthenticationProvider.Twitter); iOS If (client.currentUser == nil) { [client loginViewControllerWithProvider : @”twitter” completion : ^(MSUser* user, NSError* err) { //… }]; }
  • 30. 診断 拡張 – コンピューティング ログ 拡張 - ストレージ
  • 31. 10  モバイル   サービス 1  GB  SQL WA  の無料料評価版 データベース プレビュー期間中は  SLA  なし。S  インスタンスのみ使⽤用可能。プレビュー期間中は、通常の従 量量課⾦金金料料⾦金金から  33%  割引で予約済みインスタンスにアップグレード可能。
  • 32. $ 共有インスタンス 予約済みインスタンス (マルチテナント環境) (プライベート VM) S インスタンスのみが S インスタンスのみが 使⽤用可能なサイズ。 使⽤用可能なサイズ。 99.9% 複数購⼊入が可能 複数購⼊入が可能 パブリック プレビュー プレビューの料料⾦金金は 公開時は無料料 Web サイトと同じ 割引料料⾦金金になる
  • 34. Mobile Services Developer Portal http://www.windowsazure.com/mobile 34
  • 35. Event Buddy(iOS) Tic Tac Toe Leaderboard   (iOS/Android) Feedback (iOS/Android)