Overview of the SharePoint 2010 Developer Platform Mithun Dhar Developer Evangelist Microsoft Corporation
May 09, 2015
Overview of the SharePoint 2010 Developer Platform
Mithun DharDeveloper EvangelistMicrosoft Corporation
Huge Opportunity
Learning a new technology is hard
Communities
Search
Sites
Composites
ContentInsights
Build on top of SharePoint
Built on / Built with
Web Portal UIDocument LibraryUser Self Service
BCS Data Integration
SharePoint DesignerContextual Ribbon
Sites and ListsClaims
AuthenticationHuman Workflow
Wiki PagesWeb Parts
Authorization UIComprehensive SDK
{your opportunities here}
Your ProductMicrosoft Product
Base Platform
NET Framework 3.5 ASP.NETWindows Workflow
Foundation
Developer Productivity
Visual Studio 2010 Windows 7 ALMSharePoint
Designer 2010
Developer Tools · Developer Workstation · Team · Design Tools
Project TemplatesWSP PackagingVisual Designers
One Development MachineFor Developers OnlyX64 OS Required
Source code controlTeam Foundation Server (TFS)
Artifact FocusNew Workflow DesignerExport as WSP
Demo: Visual Web Part forASP.NET developers
Development
SharePoint 2010 for Developers
Comprehensive Data AccessLine of Business Integration Workflow Advances
Rich Platform Services
First Class SharePoint Developer ToolsFaster Solution Debugging & TuningChoice of Development Workstation
Developer Productivity
Application Lifecycle Management Standardized Solution PackagingDeploy with Agility and Stability
Flexible Deployment
Development on Windows 7or Windows Vista SP1
Either SharePoint Foundation or SharePoint ServerRequires x64 OSNot Supported for ProductionOnly for Stand Alone InstallationCan be Disabled through Group Policy
Just for DevelopersRequires Following Install Guide in SDK
Windows 7
Visual Studio 2010Developer Tools for SharePoint
Support for SharePoint Sandboxed SolutionsImport WSP from SharePoint Designer including WorkflowBuild Workflow Steps for SharePoint DesignerExtensibility for Development of Additional SharePoint ArtifactsSharePoint Business Connectivity Services support
Web Part, BCS and Workflow designersPackage and Deploy SharePoint projectsGenerate WSP for Production DeploymentView SharePoint site in Server ExplorerTeam Foundation Server Integration
Broad SharePoint Support
Develop, Deploy and Debug
Web Part Designer
Project Types
Free for creating and editing SharePoint artifacts
New Tools BCS EntitiesList SchemaCustom ActionsTask / Approval Designer
Improved Tools Workflow DesignerPage Editor
SharePoint Designer work can be upgraded to Visual Studio 2010
“Save site as template” in SharePoint Site Settings creates WSPWSP imports into Visual Studio 2010 as new project
SharePoint Designer 2010No code tool for SharePoint
Developer Dashboard
Quick Debug or Monitor Page Performance
stsadm -o setproperty -pn developer-dashboard -pv ondemand
F5
SharePoint 2010 for Developers
Comprehensive Data AccessLine of Business Integration Workflow Advances
Rich Platform Services
First Class SharePoint Developer ToolsFaster Solution Debugging & TuningChoice of Development Workstation
Developer Productivity
Application Lifecycle Management Standardized Solution PackagingDeploy with Agility and Stability
Flexible Deployment
Connect people to data
Enable rich visualizations
Go where your users are
Demo: Connecting data and people with SharePoint
Server Explorer
Package and Feature Designers
BCS Designer
Workflow Designer
Visual Web Part Designer
Office Apps
Client Runtime
Offline Operatio
nsCache
Development
Platform
Business Intelligenc
e
Enterprise content mgmt
Collaboration social
EnterpriseSearch
ECT Stor
e
Runtime
Security
Solution Packagin
g
Out of the box
UI
Web 2.0DBWCFWeb Service.NET LOB
SharePointDesign Tools
SharePoint Designer
2010
Visual Studio 2010
Business Connectivity ServicesBrings LOB Data Into SharePoint
SharePoint List with External DataRead / WriteSharePoint FoundationBuilt on the SharePoint 2007 Business Data Catalog
Overview of Data Technologies
LINQ
Farm
Site
List Data
External Lists
Data Platform
Client-side
Server-side
Strongly-typed lists
Weakly-typed lists
Strongly-typed lists
Weakly-typed listsServer OM
Client OM
REST APIs
New in 2010
Improved
REST APIs
Integration with growing set of Microsoft REST Technologies
SharePoint list data and Excel spreadsheets
WCF Data ServicesREST Protocols Atom,
JSON feeds
Client Object ModelRuns on Remote Machine
Simple API to Add, Retrieve, Updateand Manage Data in SharePointCommands batched for Performance
.NET CLRSilverlight
CLRJavaScript
Client Application
Consistent
Efficient
SharePoint Data
Client Object Model Sample .NET
ClientContext context = new ClientContext("http://server");Web site = context.Web;context.Load(site);context.ExecuteQuery();site.Title = site.Title + " and Client OM";site.Update();context.ExecuteQuery();
LINQ to SharePointLanguage Integrated Query
Entity based programmingStrong Types and Intellisense
Supports List Joins and ProjectionsJoin lists on lookup field between themJoin multiple lists (A->B->C)Project any field from joined list in a query without changes in list schema
Examplefrom o in data.Orders
where o.Customer.City.Name == "London“
select o;
Workflow ImprovementsPopular and Successful Base in 2007
Visual Studio 2010 Initiation and Association FormsNew Workflow Design Surface in SPDImport SPD Workflows into Visual StudioBuild SPD Actions in Visual Studio Visio 2010 Workflow DesignBrowser Based VisualizationHigh Privilege WorkflowsControl Where Service RunsSite WorkflowsReusable Declarative WorkflowsList Workflow Event ReceiversPluggable Workflow ServicesPerformance and ScaleFully Customizable OOB WorkflowApproval Designer
Rich Visualizations
Silverlight & SharePoint
Enabling Rich Visualizations
Consistent Experience
No Touch
<html/>
LowTouch
SharePoint
Artifact
High Touch
SharePoint
Artifact
OM, Web 2.0,Service, …
Demo: SharePoint and Silverlight
Silverlight 3 and SharePoint 2010New UI OptionMedia Player Web Part
Organization Browser
List and Site Creation
Office Web Applications
Silverlight Web PartSimple way to upload
Silverlight CLR compatible
Client Object ModelCall SharePoint API’s
REST APIsSimplifies List data access
Support for remotely hosted Silverlight applicationsDelegated authentication/application principals
Deployment
SharePoint 2010 for Developers
Comprehensive Data AccessLine of Business Integration Workflow Advances
Rich Platform Services
First Class SharePoint Developer ToolsFaster Solution Debugging & TuningChoice of Development Workstation
Developer Productivity
Application Lifecycle Management Standardized Solution PackagingDeploy with Agility and Stability
Flexible Deployment
Sandboxed Solutions
Business Agility
Security & Stability
Essential
AgilityEasy DeploymentIterative DevelopmentAccess To Shared ServersSharePoint Online
Essential
StabilitySafe for Other UsersLimited API AccessMonitored ResourcesSeparate ProcessSite Collection Limits
Business Agility
Security & Stability
Team Foundation ServerApplication Lifecycle Management
Work Item TrackingSource Code ControlTeam BuildManage Test CasesLog BugsAutomated TestingLoad Testing
© 2009 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.