Innovation Day
Вы стартап? Узнайте, как быстро разрабатывать и зарабатывать на приложениях под Windows Phone: На конференции Microsoft BizSpark Camp по Windows Phone 31 марта в Москве.Microsoft BizSpark Camp по Windows Phone 31 марта в Москве Разработайте ваше новое решение под руководством экспертов! Расширяйте клиентскую базу за счет пользователей телефонов на базе Windows Phone: публикуйте ваши решения в магазине Windows Phone Marketplace и выигрывайте смартфоны Nokia Lumia! Прием заявок до 30 апреля Подробнее на
Windows Phone и… Windows Azure SharePoint Office 365
Windows Azure
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
Составляющие решения Identity Storage Services Communications
Identity
Identity Options Собственная Custom model ASP.NET Membership Providers Существующая (e.g. Live Id, Facebook, etc.) Независимая (e.g. Access Control Service)
Storage
SQL Azure Реляционная база Высокая доступность Управляется, как сервис Windows Azure Tables Нереляционная Низкая цена масштабирования OData Windows Azure Blobs Большие файлы REST
Services
Web Role versus Worker Role Web Role это IIS Worker Role работает, как постоянный сервис У обоих есть RoleEntryPoint
Communications
Две модели Phone-initiated Cloud-initiated
Phone-Initiated HTTP, request/response WCF, OData, WebRequest и т.д. Широкий выбор моделей (SOAP, JSON, POX...)
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
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
SharePoint
Требует claims-режим Может работать через Unified Access Gateway FBA SharePoint на Windows Phone
Реализована claim-провайдером Может использовать различные хранилища (SQL, LDAP) FBA
Identity Normalization
SharePoint FBA Sign-in Request 302 Redirect Response with Cookie Request with Cookie Response with Cookie
Put the Cookie in the Cookie Jar CookieContainer cookieJar = new CookieContainer(); HttpWebRequest spAuthReq = HttpWebRequest.Create(authServiceUri) as HttpWebRequest; spAuthReq.CookieContainer = cookieJar; spAuthReq.Headers["SOAPAction"] = " spAuthReq.ContentType = "text/xml; charset=utf-8"; //spAuthReq.Accept = "text/xml"; spAuthReq.Method = "POST"; blogs.msdn.com/pstubbs/archive/2010/10/04/developing-windows-phone-7-applications-for-sharepoint-2010.aspx
Unified Access Gateway
upsRequest.Headers["Authorization"] = "Basic " + Convert.ToBase64String( Encoding.UTF8.GetBytes(AppSettings.Username + ":" + AppSettings.Password)) + System.Environment.NewLine;
SharePoint 2010 and Windows Phone 7 Training Course
Office 365
/connecting-to-sharepoint-on-office-365-with- windows-phone-7.aspx Connecting to SharePoint on Office 365 with Windows Phone 7
демонстрация
Спасибо Innovation Day
© 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.
© 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.