320 likes | 437 Views
OSP209. Building Your First Windows Phone 7 Application for Microsoft SharePoint 2010. Paul Stubbs Technical Evangelist Microsoft. Session Objectives and Takeaways. Session Objective(s): Understand How to Connect to SharePoint Learn How to Configure your Developer Environment
E N D
OSP209 Building Your First Windows Phone 7 Application for Microsoft SharePoint 2010 Paul Stubbs Technical Evangelist Microsoft
Session Objectives and Takeaways • Session Objective(s): • Understand How to Connect to SharePoint • Learn How to Configure your Developer Environment • Learn How to Read and Write SharePoint Data • Connection Options are Limited • High Bar for Developers Getting Started • Limited Data Access Options • Consumer Focused Marketplace • Field is Wide Open!
Two Flavors of Applications • Modern XAML/event-driven application UI framework • Rapid creation of visually stunning apps • Metro-themed UI controls • HTML/JavaScript • 500,000 developers spanning Windows and web • High performance game framework • Rapid creation of multi-screen 2D and 3D games • Rich content pipeline • Mature, robust, widely adopted technology spanning Xbox 360, Windows, and Zune
Common Capabilities Input .NET • Touch • Hardware buttons • Superset of Silverlight 3.0 • Windows Communication Foundation • SOAP and REST services Media Phone Access • Digital media capture & playback • Media library access • Integrated access to phone UI • Sensors (accelerometer) • Camera, microphone • Picker for contacts and photos Data Integrated With Cloud Services • Isolated Storage • LINQ (Objects and XML) • App Deployment & Updates • Notifications • Location • Xbox LIVE
Forms Based Authentication • Requires Claims Mode • Implemented as a Claims Provider • Provider Neutral • e.g. SQL, LDAP etc
Identity Normalization SAMLADFS, Ping, etc. NT TokenWindows Identity NT TokenWindows Identity ASP.Net (FBA)SAL, LDAP, Custom … SAML Token Claims Based Identity SPUser
SharePoint FBA Sign-in 7 Request 8 Response with Cookie 4 Response with Cookie Request with Cookie 302 Redirect 302 Redirect 1 3 2 5 6 9
Put the Cookie in the Cookie Jar • CookieContainercookieJar = new CookieContainer(); • HttpWebRequestspAuthReq = 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
Single Machine Developer Windows 7 SharePoint
Multi-machine Developer Setup Windows Server 2008 R2 Windows 7 SharePoint VHD .30 .20 .5 .10 .1 192.168.150.XX
UAG Forefront Unified Access Gateway 2010 Internet Intranet UAG SharePoint http://www.microsoft.com/forefront/unified-access-gateway/en/us/default.aspx
Multi-machine Developer Setup with UAG Windows Server 2008 R2 Windows 7 UAGVHD .20 .10 .5 .5 SharePoint VHD .10 .1 192.168.1.XX 192.168.150.XX
Single Machine Developer Setup with UAG Windows Server 2008 R2 UAGVHD .10 .5 .5 SharePoint VHD .10 .1 192.168.1.XX 192.168.150.XX
Single Machine Developer Setup with Hyper-V Windows Server 2008 R2 UAGVHD .10 .5 .5 Windows 7 x86 VHD SharePoint VHD .10 .1 192.168.1.XX 192.168.150.XX
SharePoint Task Application Paul Stubbs Technical Evangelist DPE Corp. demo
Marketplace http://create.msdn.com
Coming soon… SharePoint and Windows Phone 7 Training Kit 10Training Modules 20Hands-on Labs announcement http://msdn.microsoft.com/trainingcourses.aspx
Next Steps • Build Dev Machine – Easy Setup Script • Download the Windows Phone Developer Tools • Start creating your app or game • Purchase an App Hub subscription • Preparing your app to submit to Windows Phone Marketplace
Summary • Session Objective(s): • Understand How to Connect to SharePoint • Learn How to Configure your Developer Environment • Learn How to Read and Write SharePoint Data • Connection Options are Limited • High Bar for Developers Getting Started • Limited Data Access Options • Consumer Focused Marketplace • Field is Wide Open!
http://channel9.msdn.com/shows/sharepointsideshow Twitter @SPSideshow
Shameless Plug! • Still a work in progress • Get early access and send feedbackon Safari Rough Cuts!http://bit.ly/SPSL_SafariRoughCutsDownload the code on MSDN Code Galleryhttp://code.msdn.com/spsl/
Professional SharePoint 2010 Branding and User Interface Design • CSS • master pages • page layouts • SharePoint themes • XSLT • jQuery • Silverlight • Provides expert tips, techniques, and insights from the author team of SharePoint 2010 branding experts
Related Content from my team • OSP209| Building Your First Windows Phone 7 Application for Microsoft SharePoint 2010 • OSP301| Integrating Microsoft SharePoint 2010 with Windows Azure • COS375-INT| Integrating Windows Phone 7 and Microsoft SharePoint Using Windows Azure • OSP301| Integrating Microsoft SharePoint 2010 with Windows Azure • OSP319| Taking Office to the Cloud: Integrating Microsoft Office 2010 and Windows Azure • OSP312| Developing Microsoft Office Business Solutions That Span the PC, Windows Phone 7 and Web • OSP304| SAP Interoperability with Duet Enterprise for Microsoft SharePoint and SAP, BCS, and Microsoft Office 2010 • OSP305| Developing Collaboration Solutions in the Cloud with Microsoft SharePoint Online • OSP306| Developing Powerful Workflows in the Cloud with Microsoft SharePoint Online
Resources • Connect. Share. Discuss. http://northamerica.msteched.com Learning • Sessions On-Demand & Community • Microsoft Certification & Training Resources www.microsoft.com/teched www.microsoft.com/learning • Resources for IT Professionals • Resources for Developers http://microsoft.com/technet http://microsoft.com/msdn
© 2011 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.