1 / 44

Overview of the SharePoint 2010 Developer Platform

SESSION CODE: OSP212. Overview of the SharePoint 2010 Developer Platform. Paul Andrew Technical Product Manager Microsoft Corporation. Microsoft SharePoint 2010 The business collaboration platform for the Enterprise and the Web. Sites. Connect and Empower People. Composites.

noura
Télécharger la présentation

Overview of the SharePoint 2010 Developer Platform

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SESSION CODE: OSP212 Overview of the SharePoint 2010 Developer Platform Paul Andrew Technical Product Manager Microsoft Corporation

  2. Microsoft SharePoint 2010The business collaboration platform for the Enterprise and the Web Sites Connect and Empower People Composites Communities Cut Costs with a Unified Infrastructure Insights Content Rapidly Respond to Business Needs Search

  3. SharePoint 2010 for Developers • First Class SharePoint Developer Tools • Faster Solution Debugging & Tuning • Choice of Development Workstation Developer Productivity • Comprehensive Data Access • Line of Business Integration • Workflow Advances Rich Platform Services • Application Lifecycle Management • Standardized Solution Packaging • Deploy with Agility and Stability Flexible Deployment

  4. SharePoint Application Landscape Business Collaboration Applications SharePoint Core Single WebPart Solutions Portal for LOB Application Data .NET | ASP.NET Customized SharePoint Server 2010 Workloads

  5. SharePoint 2010 for Developers • First Class SharePoint Developer Tools • Faster Solution Debugging & Tuning • Choice of Development Workstation Developer Productivity • Comprehensive Data Access • Line of Business Integration • Workflow Advances Rich Platform Services • Application Lifecycle Management • Standardized Solution Packaging • Deploy with Agility and Stability Flexible Deployment

  6. Development on Windows 7or Windows Vista SP1 • Either SharePoint Foundation or SharePoint Server • Requires x64 OS • Not Supported for Production • Only for Stand Alone Installation • Can be Disabled through GroupPolicy • Just for Developers • Requires Following Install Guide in SDK Windows 7

  7. Visual Studio 2010Developer Tools for SharePoint Develop, Deploy and Debug • Web Part, BDC and Workflow designers • Package and Deploy SharePoint projects • Generate WSP for Production Deployment • View SharePoint site in Server Explorer • Team Foundation Server Integration Web Part Designer Broad SharePoint Support • Support for SharePoint Sandboxed Solutions • Import WSP from SharePoint Designer including Workflow • Build Workflow Steps for SharePoint Designer • Extensibility for Development of Additional SharePoint Artifacts • SharePoint Business Connectivity Services support Project Types

  8. SharePoint Designer 2010No code tool for SharePoint • Free for creating and editing SharePoint artifacts • New Tools • BDC Entities • List Schema • Custom Actions • Task / Approval Designer • Improved Tools • Workflow Designer • Page Editor • SharePoint Designer work can be upgraded to Visual Studio 2010 • “Save site as template” in SharePoint Site Settings creates WSP • WSP imports into Visual Studio 2010 as new project

  9. Developer Dashboard stsadm -o setproperty -pn developer-dashboard -pvondemand Quick Debug or Monitor Page Performance

  10. Tools Windows 7 Visual Studio 2010 Developer Dashboard demo

  11. SharePoint 2010 for Developers • First Class SharePoint Developer Tools • Faster Solution Debugging & Tuning • Choice of Development Workstation Developer Productivity • Comprehensive Data Access • Line of Business Integration • Workflow Advances Rich Platform Services • Application Lifecycle Management • Standardized Solution Packaging • Deploy with Agility and Stability Flexible Deployment

  12. Business Connectivity ServicesBrings LOB Data Into SharePoint • SharePoint List with External Data • Read / Write • SharePoint Foundation • Built on the SharePoint 2007 Business Data Catalog Office Apps Client Runtime Offline Operations Cache Design Tools SharePoint Visual Studio 2010 Enterprise Search Development Platform Business Intelligence Enterprise content mgmt Collaboration social SharePoint Designer 2010 ECT Store Runtime Security Solution Packaging Out of the box UI .NET LOB Web Service WCF DB Web 2.0

  13. Business Connectivity Services Build an External Content Type Visual Studio 2010 demo

  14. SharePoint List ImprovementsCollaborative Data Store • Relationships with Cascade or Block • Transacted Cascading Deletion • Restriction of Deletion • Validation with Excel Like Formula • Formula-based Validation • Ensure Uniqueness • Lookup to Multiple Columns • List Index Auto-Creation • Scalability and Performance • List Query Throttling • And we keep from SharePoint 2007 • Self Service List Creation • Out of the Box List User Interface • Built in Authorization Forms

  15. XSLT Views for ListsView Design in UI and SPD • Replaces CAML for Views • CAML Still Used for Queries • Better Performance • Easier edit in SPD • Ribbon UX: sort/filter/group, conditional formatting,… • Simpler Coding Experience • Standard language, shared default XSLT • XSLT-based views are now default • SharePoint Lists • External Lists

  16. Relationships and Validation Create a Relationship Between Lists Create Validation on a List demo

  17. Overview of Data Technologies REST APIs Strongly-typed lists ClientOM Weakly-typed lists Client-side Data Platform Farm Site List Data External Lists ServerOM Server-side Weakly-typed lists LINQ Strongly-typed lists New in 2010 Improved

  18. LINQ to SharePointLanguage Integrated Query • Entity based programming • Strong Types and Intellisense • Supports List Joins and Projections • Join lists on lookup field between them • Join multiple lists (A->B->C) • Project any field from joined list in a query without changes in list schema • Example fromoindata.Orderswhereo.Customer.City.Name == "London“selecto;

  19. Client Object ModelRuns on Remote Machine • Simple API to Add, Retrieve, Updateand Manage Data in SharePoint • Commands batched for Performance SharePoint Data Consistent Efficient Client Application .NET CLR Silverlight CLR JavaScript

  20. Client Object Model Sample .NET ClientContext context = newClientContext("http://server"); Web site = context.Web; context.Load(site); context.ExecuteQuery(); site.Title = site.Title + " and Client OM"; site.Update(); context.ExecuteQuery();

  21. REST APIs ADO.NET Data Services REST Protocols Atom, JSON feeds SharePoint list data and Excel spreadsheets Integration with growing set of Microsoft REST Technologies

  22. REST and ADO.NET Data Services demo

  23. SharePoint Events ImprovementsReacting to Server Events • Events Project Templates in Visual Studio 2010 • After-Synchronous Events • Simpler Event Behavior • Site-scoped events • Web creation events • List creation events • More User Interface Control • Custom Error Pages

  24. Workflow ImprovementsPopular and Successful Base in 2007 • Visual Studio 2010 Initiation and Association Forms • New Workflow Design Surface in SPD • Import SPD Workflows into Visual Studio • Build SPD Actions in Visual Studio • Visio 2010 Workflow Design • Browser Based Visualization • High Privilege Workflows • Control Where Service Runs • Site Workflows • Reusable Declarative Workflows • List Workflow Event Receivers • Pluggable Workflow Services • Performance and Scale • Fully Customizable OOB Workflow • Approval Designer

  25. Workflow Build a Workflow in Visual Studio 2010 demo

  26. SharePoint Service ApplicationsNew Service App Architecture • Upgrade to Shared Service Provider from SharePoint 2007 • More Flexible Services Model • Builds on WCF Knowledge • Management • Extensible Administration Roles • User Interface and PowerShell • Common Infrastructure for ‘heavy’ tasks • Web Service and Database provisioning • Settings Store • Sharing and cross-farms service discovery • Service instance discovery within a farm • Round-robin load balancer Browser Client App Consumer Web Part Consumer Web Part WFE SERVER Service Proxy WCF Contract APP SERVER Service Logic SQL SERVER Config Content Custom

  27. Ribbon and Dialog Framework • Client Site Custom Actions in Ribbon • Context Sensitive Ribbon The Ribbon Status Bar Notification Area

  28. Ribbon and Dialog Framework • Replaceable SharePoint OOB forms • Open as Web Page or as Dialog Dialog Framework

  29. Silverlight 3 and SharePoint 2010New UI Option • Media Player Web Part • Organization Browser • List and Site Creation • Office Web Applications • Silverlight Web Part • Simple way to upload • Silverlight CLR compatible • Client Object Model • Call SharePoint API’s • REST APIs • Simplifies List data access • Support for remotely hosted Silverlight applications • Delegated authentication/application principals

  30. SharePoint 2010 for Developers • First Class SharePoint Developer Tools • Faster Solution Debugging & Tuning • Choice of Development Workstation Developer Productivity • Comprehensive Data Access • Line of Business Integration • Workflow Advances Rich Platform Services • Application Lifecycle Management • Standardized Solution Packaging • Deploy with Agility and Stability Flexible Deployment

  31. Sandboxed Solutions Security & Stability Security & Stability BusinessAgility BusinessAgility Essential Agility Essential Stability Safe for Other Users Limited API Access Monitored Resources Separate Process Site Collection Limits Easy Deployment Iterative Development Access To Shared Servers SharePoint Online

  32. Sandboxed Solutions demo

  33. SharePoint Online Upload Sandboxed Solution WSP

  34. Upgrade and PackagingWSP as the SharePoint Installer • WSS Solution Package (WSP) • Visual Upgrade from version to version • SharePoint UI Save To Template • Better-defined Upgrade Semantics • Declarative upgrade mappings • Upgrade callouts for features • Application discovery in SharePoint Sites • WSPs as unified developer format • Works in both site collections and on machine

  35. Team Foundation ServerApplication Lifecycle Management • Work Item Tracking • Source Code Control • Team Build • Manage Test Cases • Log Bugs • Automated Testing • Load Testing

  36. SharePoint 2010 for Developers • Visual Studio 2010 • Install on Windows 7 • SharePoint Designer 2010 • Developer Dashboard Developer Productivity • Business Connectivity Services • LINQ, REST and Data Improvements • Client Object Model • Silverlight Web Part • Workflow Improvements Rich Platform Services • Team Foundation Server • Sandboxed Solutions • WSP Solution Upgrade • SharePoint Online Flexible Deployment

  37. Required Slide Track PMs will supply the content for this slide, which will be inserted during the final scrub. Track Resources • For More Information – http://sharepoint.microsoft.com • SharePoint Developer Center – http://msdn.microsoft.com/sharepoint • SharePoint Tech Center – http://technet.microsoft.com/sharepoint • Official SharePoint Team Blog – http://blogs.msdn.com/sharepoint

  38. Required Slide Speakers, please list the Breakout Sessions, Interactive Sessions, Labs and Demo Stations that are related to your session. Related Content • Breakout Sessions – See Conference Guide for full list of OSP Track Sessions • Interactive Sessions – OSP Track has 10 Interactive Sessions – OSP01-INT – OSP10-INT • Hands-on Labs – OSP01-HOL – OSP20-HOL • Product Demo Stations – Yellow Section, OSP • Office 2010, SharePoint 2010, Project Server 2010, Visio 2010 have kiosks and demos

  39. Required Slide Resources 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

  40. Required Slide Complete an evaluation on CommNet and enter to win!

  41. Sign up for Tech·Ed 2011 and save $500 starting June 8 – June 31st http://northamerica.msteched.com/registration You can also register at the North America 2011 kiosk located at registrationJoin us in Atlanta next year

  42. Play the Microsoft Office & SharePoint Track Tag Contest Download the Microsoft Tag Reader Open the internet browser on your mobile phone and visit http://gettag.mobi Grand Prize (1) Xbox 360 Prize Package and Microsoft® Office 2010 Daily Prizes 40 copies of Microsoft® Office 2010 Come to the Expo Hall – Yellow Section OSP Info Desk for Official Rules & Collect Additional Tags from all OSP Track Sessions, Speakers and Expo Hall!

  43. © 2010 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.

  44. Required Slide

More Related