3. About me
• Unit Manager at RealDolmen
• Working with SharePoint since 2001
• MVP SharePoint Server since 2005
• Blog - http://jopx.blogspot.com
• Twitter – jopxtwits
• Co-author
• SharePoint Server 2007, the definitive guide (O’Reilly, 2007)
• Real World SharePoint 2007 (Wrox, 2007)
• Real World SharePoint 2010 (Wrox, 2010)
6. WHY BECOMING A WP7 DEVELOPER?
• Gartner expects smartphone
sales to exceed 1 billion in 2015
• Gartner expects Microsoft’s
market share to increase from
6% to 20%.
• Business oriented mobile apps
are just starting to appear
• But ....
• Fragmented market
• Uncertainty about revenue
potential of paying apps
• Marketing required >70K apps
available
8. YOUR DEVELOPMENT ENVIRONMENT
• Multiple options
• Single machine Windows 7
• Single machine W2008 R2 using 2 separate VHDs
• Multiple machines
9. TWO FLAVOURS OF APPLICATIONS
• Modern XAML/event- • High performance game framework
driven application UI • Rapid creation of multi-screen
framework 2D and 3D games
• Rapid creation of • Rich content pipeline
visually
• Mature, robust, widely adopted
stunning apps technology
• Metro-themed UI spanning
controls
Xbox 360,
• Reuse existing Windows,
Silverlight controls and
and Zune
libraries
10. SHAREPOINT API ACCESS SCENARIOS
Scenario Use for
RSS Read
REST API Read and write
Web services Read and write
Client side OM Not supported with WP7 & SPS2010
Custom Read and write
11. SHAREPOINT RSS FEED
• SharePoint provides OOB
RSS feeds
• Read only
• Support Anonymous
access
• List data only
• Additional fields =
XML + HTML
• Difficult to parse
• Feeds can be parsed
using
• Any XML API
including LINQ
• .Net Syndication
library
13. Agenda
• Getting started
• Why authentication matters …
• Exploring different remote APIs in FBA scenario
14. SHAREPOINT AUTHENTICATION SCENARIOS
• Windows Phone 7 does not support Windows Authentication
• SharePoint authentication design will affect API support
Scenario Basic Claims (FBA) Anonymous
RSS Supported* Supported Supported
REST API Supported* Supported Not Supported
Web services Supported* Supported Not supported
Custom Supported* Supported Supported**
• * Supported with Microsoft Forefront Unified Access Gateway (UAG)
• ** Support depends on design
17. Agenda
• Getting started
• Why authentication matters …
• Exploring different remote APIs in FBA scenario
18. INTEGRATE USING REST/ODATA
• Service Proxy (works with UAG only)
• Generate a service proxy
• Visual Studio
• DataSvcUtil.exe
• Use generated proxy class to interact
with data
• HttpWebRequest – (only option with FBA)
• Url for reads ( simple)
• Create body for write (complex)
• Execute request asynchronously
• Process results in callback method
20. INTEGRATE USING WEB SERVICES
• Service Proxy
• Generate a service proxy
• Use generated proxy class to interact with data
• HttpWebRequest and SOAP
• Create SOAP request and HttpWebRequest
• Execute request asynchronously
• Process results in callback method
23. SHAREPOINT USER AND SOCIAL DATA USING
WEB SERVICES
• Use Search.asmx and UserProfileService.asmx
• SocialDataService.asmx
• Read and manage
• Comments or Notes
• Tags
• Ratings
25. SUMMARY
• Authentication makes WP7 integration with SharePoint quite
troublesome ...
• ... But using the “SharePoint 2010 and Windows Phone 7
Training Kit” – you can get started quite quickly
• Build WP7 apps to extend your SharePoint business solutions
– don’t try to build a generic solution.
26. RESOURCES
• Building Windows Phone 7 applications with SharePoint 2010 Products and Unified
Access Gateway (UAG) (white paper) - http://technet.microsoft.com/en-
us/library/hh180841.aspx
• Developing Windows Phone 7 Applications for SharePoint 2010 -
http://blogs.msdn.com/b/pstubbs/archive/2010/10/04/developing-windows-phone-7-
applications-for-sharepoint-2010.aspx
• Windows Phone 7 Training Kit for Developers -
http://www.microsoft.com/download/en/details.aspx?id=1678
• SharePoint 2010 and Windows Phone 7 Training Kit
http://www.microsoft.com/download/en/details.aspx?id=26813
• Silverlight for Windows Phone Toolkit
http://silverlight.codeplex.com