Movatterモバイル変換


[0]ホーム

URL:


Tatsuaki Sakai, profile picture
Uploaded byTatsuaki Sakai
PDF, PPTX1,898 views

JAZUG 3周年LT

Embed presentation

Download as PDF, PPTX
祝!通知ハブGAJAZUG アドバイザ(通称:組長)Microsoft MVP Windows AzureMicrosoft Regional Director酒 井 達 明 (@tatsuakisakai)
通知ハブとはサービス バスメッセージングの拡張–Windows Azure SDK 2.1 の名前空間は“Microsoft.ServiceBus”外部のアプリケーションからプッシュ通知–プッシュ通知だけ利用したい場合に便利–数百万台のデバイスに対して同時配信を実現様々なデバイスをサポート(Windows Store, iOS, Android, …)タグ付けによる配信先のフィルタリング– 受信者があらかじめ受信したいタグを登録– 送信者は適宜タグを付加して配信
プッシュ通知の仕組みクライアント側の準備– クライアントアプリはプラットフォームの通知サービスに対しハンドルを要求– 通知サービスはアプリケーションハンドルをクライアントに返信– クライアントはバックエンドに対してハンドルを登録メッセージ送信– バックエンドは受信対象者のハンドルとともに通知サービスにメッセージを送信– 通知を通知サービスは対象のクライアントにメッセージ管理– 通知サービスは無効化されたハンドルをバックエンドに通知プラットフォームの通知サービスバックエンドクライアント
通知ハブを利用するとこうなる!全てのプラットフォーム、一手に引き受けます!クライアントの準備– 各通知サービスにハンドルを要求– 受信したハンドルは通知ハブに送信メッセージの送信– バックエンドは通知ハブにメッセージを送信– 通知ハブは各通知サービスにメッセージを送信– 各通知サービスはクライアントに対してメッセージを配信APNs WNS通知ハブバックエンドiOS アプリ Windows ストアアプリ
サーバ側のコード例string connectionString = ServiceBusConnectionStringBuilder.CreateUsingSharedSecret(new Uri("sb://xxxx.servicebus.windows.net/"),"owner",“Enter your shared secret key");var hubClient = NotificationHubClient.CreateClientFromConnectionString(connectionString, “hubname");hubClient.SendTemplateNotificationAsync(CreateToastImageAndText02(“画像のURL",“キャプション”, “メッセージ本文" ));
クライアント(ストアアプリ)側のコード例var cn = ConnectionString.CreateUsingSharedSecret(new Uri("sb://tatsuakisb.servicebus.windows.net/"), "owner"," Enter your shared secret key ");NotificationHub notificationHub = new NotificationHub(“hubname", cn);(中略)var channel = await PushNotificationChannelManager.CreatePushNotificationChannelForApplicationAsync();List<string> Tags = new List<string> { "Windows8", "Japan" };await notificationHub.RegisterTemplateAsync(channel.Uri,テンプレートのインスタンスを指定, “テンプレート名", Tags);
まとめ通知ハブを使えば、、、、–モバイルサービスを使わなくてもプッシュ通知ができる–受信者をタグで振り分けることができる–デバイスごとにバックエンドのロジックを書かなくていい

Recommended

PDF
Vsugday2012 winter lt_sakai
PPTX
Vsugday2010 summer lt
PPTX
最新!Windows Azure Platformアプリケーション開発
PDF
ハイブリッドなサービス統合におけるAzureサービスの活用
PDF
Asynchronous Messaging入門(第4回実施分)
PDF
Windows Azure AppFabric 第2章
PDF
Asynchronous Messaging入門
PDF
オトナのService Fabric~マイクロサービス編
PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
PDF
Product Design Trends in 2024 | Teenage Engineerings
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
PDF
Skeleton Culture Code
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
PDF
Content Methodology: A Best Practices Report (Webinar)
PPTX
How to Prepare For a Successful Job Search for 2024
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
PDF
5 Public speaking tips from TED - Visualized summary
PDF
ChatGPT and the Future of Work - Clark Boyd
PDF
Getting into the tech field. what next
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
PDF
How to have difficult conversations

More Related Content

PDF
Vsugday2012 winter lt_sakai
PPTX
Vsugday2010 summer lt
PPTX
最新!Windows Azure Platformアプリケーション開発
PDF
ハイブリッドなサービス統合におけるAzureサービスの活用
PDF
Asynchronous Messaging入門(第4回実施分)
PDF
Windows Azure AppFabric 第2章
PDF
Asynchronous Messaging入門
PDF
オトナのService Fabric~マイクロサービス編
Vsugday2012 winter lt_sakai
Vsugday2010 summer lt
最新!Windows Azure Platformアプリケーション開発
ハイブリッドなサービス統合におけるAzureサービスの活用
Asynchronous Messaging入門(第4回実施分)
Windows Azure AppFabric 第2章
Asynchronous Messaging入門
オトナのService Fabric~マイクロサービス編

Featured

PDF
2024 Trend Updates: What Really Works In SEO & Content Marketing
PDF
Storytelling For The Web: Integrate Storytelling in your Design Process
PDF
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
PDF
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
PDF
2024 State of Marketing Report – by Hubspot
PDF
Everything You Need To Know About ChatGPT
PDF
Product Design Trends in 2024 | Teenage Engineerings
PDF
How Race, Age and Gender Shape Attitudes Towards Mental Health
PDF
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
PDF
Skeleton Culture Code
PDF
PEPSICO Presentation to CAGNY Conference Feb 2024
PDF
Content Methodology: A Best Practices Report (Webinar)
PPTX
How to Prepare For a Successful Job Search for 2024
PDF
Social Media Marketing Trends 2024 // The Global Indie Insights
PDF
Trends In Paid Search: Navigating The Digital Landscape In 2024
PDF
5 Public speaking tips from TED - Visualized summary
PDF
ChatGPT and the Future of Work - Clark Boyd
PDF
Getting into the tech field. what next
PDF
Google's Just Not That Into You: Understanding Core Updates & Search Intent
PDF
How to have difficult conversations
2024 Trend Updates: What Really Works In SEO & Content Marketing
Storytelling For The Web: Integrate Storytelling in your Design Process
Artificial Intelligence, Data and Competition – SCHREPEL – June 2024 OECD dis...
How to Leverage AI to Boost Employee Wellness - Lydia Di Francesco - SocialHR...
2024 State of Marketing Report – by Hubspot
Everything You Need To Know About ChatGPT
Product Design Trends in 2024 | Teenage Engineerings
How Race, Age and Gender Shape Attitudes Towards Mental Health
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
Skeleton Culture Code
PEPSICO Presentation to CAGNY Conference Feb 2024
Content Methodology: A Best Practices Report (Webinar)
How to Prepare For a Successful Job Search for 2024
Social Media Marketing Trends 2024 // The Global Indie Insights
Trends In Paid Search: Navigating The Digital Landscape In 2024
5 Public speaking tips from TED - Visualized summary
ChatGPT and the Future of Work - Clark Boyd
Getting into the tech field. what next
Google's Just Not That Into You: Understanding Core Updates & Search Intent
How to have difficult conversations

JAZUG 3周年LT


[8]ページ先頭

©2009-2025 Movatter.jp