440 likes | 744 Views
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.
E N D
SESSION CODE: OSP212 Overview of the SharePoint 2010 Developer Platform Paul Andrew Technical Product Manager Microsoft Corporation
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
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
SharePoint Application Landscape Business Collaboration Applications SharePoint Core Single WebPart Solutions Portal for LOB Application Data .NET | ASP.NET Customized SharePoint Server 2010 Workloads
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
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
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
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
Developer Dashboard stsadm -o setproperty -pn developer-dashboard -pvondemand Quick Debug or Monitor Page Performance
Tools Windows 7 Visual Studio 2010 Developer Dashboard demo
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
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
Business Connectivity Services Build an External Content Type Visual Studio 2010 demo
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
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
Relationships and Validation Create a Relationship Between Lists Create Validation on a List demo
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
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;
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
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();
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
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
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
Workflow Build a Workflow in Visual Studio 2010 demo
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
Ribbon and Dialog Framework • Client Site Custom Actions in Ribbon • Context Sensitive Ribbon The Ribbon Status Bar Notification Area
Ribbon and Dialog Framework • Replaceable SharePoint OOB forms • Open as Web Page or as Dialog Dialog Framework
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
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
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
Sandboxed Solutions demo
SharePoint Online Upload Sandboxed Solution WSP
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
Team Foundation ServerApplication Lifecycle Management • Work Item Tracking • Source Code Control • Team Build • Manage Test Cases • Log Bugs • Automated Testing • Load Testing
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
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
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
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
Required Slide Complete an evaluation on CommNet and enter to win!
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
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!
© 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.