close

Вход

Забыли?

вход по аккаунту

?

SQL Server 2012

код для вставкиСкачать
Innovation Day
Вы стартап?
Узнайте, как быстро разрабатывать и зарабатывать на приложениях под Windows Phone:
На конференции Microsoft BizSpark Camp по Windows Phone 31 марта в
Москве.
Разработайте ваше новое решение под руководством экспертов!
Расширяйте клиентскую базу за счет пользователей телефонов на базе Windows Phone:
публикуйте ваши решения в магазине Windows Phone Marketplace
и выигрывайте смартфоны Nokia Lumia! Прием заявок до 30 апреля
Подробнее на www.ms-start.ru
Windows Phone и…
SAS
WAZ
Storage
Any pictures?
Process Image
Windows Azure
Username
Access
Shared
Token
Access
&
Password
Signature
Store
Image in Windows
User
Send
Process
Authentication
Notification
Image
Azure Blob Storage
Original Text
Translated
Text
Translated
Text
Translated
Text
Microsoft Push
Notification
Service
Bing Translator
Составляющие решения
• 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
Storage
• SQL Azure
• Реляционная база
• Высокая доступность
• Управляется, как сервис
• Windows Azure Tables
• Нереляционная
• Низкая цена масштабирования
• OData
• Windows Azure Blobs
• Большие файлы
• REST
Services
Web Role versus Worker Role
• Web Role это IIS
• Worker Role работает,
как постоянный
сервис
• У обоих есть
RoleEntryPoint
Communications
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
Web
Role
MPNS
http://watwp.codeplex.com/
SharePoint на Windows Phone
• Требует claims-режим
• Может работать через
•
•
Unified Access Gateway
FBA
FBA
• Реализована claim-провайдером
• Может использовать различные хранилища
(SQL, LDAP)
Identity Normalization
SharePoint FBA Sign-in
7
Request
4
1
302 Redirect
302 Redirect
Response
with Cookie
3
2
5
6
8
Request
with Cookie
Response
with Cookie
9
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
http://msdn.microsoft.com/en-us/hh292692
SharePoint 2010
Domain Controller
Unified Access Gateway
Windows Phone
upsRequest.Headers["Authorization"] = "Basic " +
Convert.ToBase64String(
Encoding.UTF8.GetBytes(AppSettings.Username +
":" + AppSettings.Password)) +
System.Environment.NewLine;
http://blogs.msdn.com/b/ukadc/archive/2012/01/26
/connecting-to-sharepoint-on-office-365-withwindows-phone-7.aspx
демонстрация
Спасибо
Innovation Day
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.
© 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.
Документ
Категория
Корпоративные
Просмотров
6
Размер файла
4 257 Кб
Теги
1/--страниц
Пожаловаться на содержимое документа