Download presentation
Presentation is loading. Please wait.
Published byElwin Dorsey Modified over 9 years ago
1
Innovation Day
2
Вы стартап? Узнайте, как быстро разрабатывать и зарабатывать на приложениях под Windows Phone: На конференции Microsoft BizSpark Camp по Windows Phone 31 марта в Москве.Microsoft BizSpark Camp по Windows Phone 31 марта в Москве Разработайте ваше новое решение под руководством экспертов! Расширяйте клиентскую базу за счет пользователей телефонов на базе Windows Phone: публикуйте ваши решения в магазине Windows Phone Marketplace и выигрывайте смартфоны Nokia Lumia! Прием заявок до 30 апреля Подробнее на www.ms-start.ruwww.ms-start.ru
3
Windows Phone и… Windows Azure SharePoint Office 365
4
Windows Azure
5
WAZ Storage Windows Azure Microsoft Push Notification Service Bing Translator Username & Password Access Token Shared Access Signature Any pictures? Original TextTranslated Text User Authentication Store Image in Windows Azure Blob Storage SAS Process Image Send Notification Process Image
6
Составляющие решения Identity Storage Services Communications
7
Identity
8
Identity Options Собственная Custom model ASP.NET Membership Providers Существующая (e.g. Live Id, Facebook, etc.) Независимая (e.g. Access Control Service)
9
Storage
10
SQL Azure Реляционная база Высокая доступность Управляется, как сервис Windows Azure Tables Нереляционная Низкая цена масштабирования OData Windows Azure Blobs Большие файлы REST
11
Services
12
Web Role versus Worker Role Web Role это IIS Worker Role работает, как постоянный сервис У обоих есть RoleEntryPoint
13
Communications
14
Две модели Phone-initiated Cloud-initiated
15
Phone-Initiated HTTP, request/response WCF, OData, WebRequest и т.д. Широкий выбор моделей (SOAP, JSON, POX...)
16
Cloud-Initiated Push Notifications Single connection between phone and Microsoft Push Notification Service Bandwidth- and battery-friendly No guarantee of delivery Three kinds of push notifications Raw – send a message to an application Toast – send a message to the user Tile – update an image, title, or count
17
Subscribing to Push Notifications Phone opens a channel Phone sends URL to cloud Cloud pushes notifications via URL Microsoft Push Notification service notifies phone MPNS Web Role
18
http://watwp.codeplex.com/
20
SharePoint
23
Требует claims-режим Может работать через Unified Access Gateway FBA SharePoint на Windows Phone
24
Реализована claim-провайдером Может использовать различные хранилища (SQL, LDAP) FBA
25
Identity Normalization
26
SharePoint FBA Sign-in Request 302 Redirect Response with Cookie Request with Cookie Response with Cookie 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9
27
Put the Cookie in the Cookie Jar CookieContainer cookieJar = new CookieContainer(); HttpWebRequest spAuthReq = HttpWebRequest.Create(authServiceUri) as HttpWebRequest; spAuthReq.CookieContainer = cookieJar; spAuthReq.Headers["SOAPAction"] = "http://schemas.microsoft.com/sharepoint/soap/Login"; spAuthReq.ContentType = "text/xml; charset=utf-8"; //spAuthReq.Accept = "text/xml"; spAuthReq.Method = "POST"; http:// blogs.msdn.com/pstubbs/archive/2010/10/04/developing-windows-phone-7-applications-for-sharepoint-2010.aspx
28
Unified Access Gateway
29
http://msdn.microsoft.com/en-us/hh292692
30
upsRequest.Headers["Authorization"] = "Basic " + Convert.ToBase64String( Encoding.UTF8.GetBytes(AppSettings.Username + ":" + AppSettings.Password)) + System.Environment.NewLine;
31
SharePoint 2010 and Windows Phone 7 Training Course http://msdn.microsoft.com/en-us/hh292769
32
Office 365
33
http://blogs.msdn.com/b/ukadc/archive/2012/01/26 /connecting-to-sharepoint-on-office-365-with- windows-phone-7.aspx Connecting to SharePoint on Office 365 with Windows Phone 7
34
демонстрация
35
Спасибо Innovation Day
36
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
37
© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.