If you can't read please download the document
Upload
apps
View
225
Download
0
Embed Size (px)
DESCRIPTION
Â
Citation preview
SynapseIndia SharePoint Development-Presentation on sharepoint dev platform
SharePoint 2010 Development Platform Overview
Agenda
Whats New in SharePoint 2010 for developers
New Developer Tools for SharePoint 2010
SharePoint 2010 Integration with PowerShell
Claims based identity
Whats New in SharePoint 2010 for developers
SharePoint 2007
Windows SharePoint Services (WSS v3)
Site and Workspace Provisioning Engine
Out-of-the-box Collaboration Services
Microsoft Office SharePoint Server (MOSS)User Profiles, Search, Workflows, WCM
BDC, Excel Services, Forms Services, ECM
Windows SharePoint Services 3.0 (WSS v3)Browser ClientsMS Word ClientsMS Outlook ClientsMicrosoft Office SharePoint Server 2007 (MOSS)Windows Server 2003 or 2008 (32-bit or x64)Internet Information Services 6.0 or 7.0.NET Framework 3.0
SharePoint Server 2010 and related technologies
An evolved version of MOSS and WSS v3
Microsoft SharePoint Server 2010 (SPS)
Microsoft SharePoint Foundation 2010 (SPF)
Development can now be done on client OS
Significant enhancement for many development teams
Microsoft SharePoint Foundation 2010Browser ClientsMS Word ClientsMS Outlook ClientsMicrosoft SharePoint Server 2010
Windows Server 2008 (x64 only) for Production EnvironmentsWindows 7 or Vista (x64 only) for Development Environments only
Internet Information Services 7.0.NET Framework and ASP.NET 3.5 SP1
Development environment
Requires x64 operating system
Windows Server 2008
Windows Server 2008R2
Windows 7 (only for development)
Windows Vista SP2 (only for development)
SharePoint 2010 must be installed locallySharePoint Foundation or SharePoint Server
Visual Studio 2010
Additional software as required in the project
Microsoft SharePoint 2010
The business collaboration platform for the Enterprise and the
Web
Connect and Empower People
Cut Costs with a Unified Infrastructure
Rapidly Respond to Business Needs
CommunitiesSearchSitesCompositesContentInsights
SharePoint 2010 Team Site
Major Shifts in SharePoint UI
Server ribbon
In-place editing
Popup dialogAJAX refresh
SharePoint 2010 UI
demo
SharePoint Application Landscape
SharePoint Core
.NET | ASP.NETCustomized SharePoint Server 2010 WorkloadsPortal for LOB Application DataSingle WebPartSolutionsBusiness Collaboration Applications
SharePoint Terminology Review
Farm
SPFarm
Web Applications
SPWebApplication
Site Collections
Site collectionSPSite
Site
SPWeb
Root Site
Sub sites
Field 1 Field 2 Field 3Item 1Item 2Item 3Item 4Item -
SPListItemList - SPList
Field 1 Field 2 Field 3File 1File 2File 3File 4
File SPFileFolder - SPFolder
Document Library - SPDocumentLibraryLists
Remember This Code from WSS v3?
Debugging SharePoint 2010 Code
Make sure that your start VS 2010 as Admin
Required for attaching VS 2010 debugger to IIS Worker Process (W3WP.EXE)
SharePoint 2010 Developer Dashboard
Developer dashboard can be also enabled using stsadm or PowerShell
SharePoint 2010 OM & Development Dashboard
demo
SharePoint Development Platform
SharePoint List Improvements
Collaborative Data Store
Relationships with Cascade or Block
Transacted Cascading Deletion
Restriction of Deletion
Validation with Excel Like FormulaFormula-based Validation
Ensure Uniqueness
Lookup to Multiple Columns
List Index Auto-Creation
Scalability and Performance
List Query Throttling
And we keep from SharePoint 2007Self Service List Creation
Out of the Box List User Interface
Built in Authorization Forms
XSLT Views for Lists
View Design in UI and SPD
Replaces CAML for Views
CAML Still Used for Queries
Better Performance
Easier edit in SPDRibbon UX: sort/filter/group, conditional formatting,
Simpler Coding ExperienceStandard language, shared default XSLT
XSLT-based views are now defaultSharePoint Lists
External Lists
Overview of Data Technologies
LINQ
FarmSiteList DataExternal ListsData PlatformClient-sideServer-sideStrongly-typed listsWeakly-typed listsStrongly-typed listsWeakly-typed lists
Server OMClient OMREST APIs
New in 2010Improved
LINQ to SharePoint
Language Integrated Query
Entity based programming
Strong Types and Intellisense
Supports List Joins and ProjectionsJoin 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
Examplefrom o in data.Orders
where o.Customer.City.Name == "London
select o;
Client Object Model
Runs on Remote Machine
Simple API to Add, Retrieve, Update
and Manage Data in SharePoint
Commands batched for Performance
.NET CLRSilverlight CLRJavaScript
Client ApplicationConsistentEfficientSharePoint Data
REST APIs
Integration with growing set of Microsoft REST TechnologiesSharePoint list dataWCF Data Services REST Protocols Atom, JSON feeds
Office Apps
Client RuntimeOffline Operations
Cache
DevelopmentPlatformBusiness IntelligenceEnterprise content mgmtCollaboration socialEnterpriseSearchECT StoreRuntimeSecuritySolution PackagingOut of the box UI
Web 2.0DBWCFWeb Service.NET LOBSharePoint
Design Tools
SharePoint Designer 2010Visual Studio 2010
Business Connectivity Services
Brings LOB Data Into SharePoint
SharePoint List with External Data
Read / Write
SharePoint Foundation
Based on the SharePoint 2007 Business Data Catalog
SharePoint Events Improvements
Reacting 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 ControlCustom Error Pages
Workflow Improvements
Popular 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
SharePoint Service Applications
New 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
Browser
ConsumerWeb PartWFE SERVER
ConsumerWeb PartService ProxyWCF ContractService LogicAPPSERVER
SQLSERVERClient App
Content
Config
Custom
Extensible UI Controls
Client Side actions in Ribbon added through Custom Actions
Context Sensitive Ribbon
Status BarNotification Area
The Ribbon
Dialog Framework
Keep the user in context
Operations without unnecessary post packs
Dialog Framework
Silverlight 3 and SharePoint 2010
New 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 ModelCall SharePoint APIs
REST APIsSimplifies List data access
Support for remotely hosted Silverlight applications
Upgrade and Packaging
WSP as the SharePoint Installer
SPF 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
WSPs as unified developer formatWorks in both site collections and on machine
Instrumentation and monitoring improvements for developers
Out-of-the-box APIs for logging to trace and event logs
Supports custom categories to be exposed from diagnostic logging UI
Out-of-the-box APIs for code monitoring
Capability to write messages for the developer dashboard stream
New Developer Tools for SharePoint 2010
Visual Studio 2010
Developer Tools for SharePoint
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
Web Part, BCS and Workflow designers
Package and Deploy SharePoint projects
Generate WSP for Production Deployment
View SharePoint site in Server Explorer
Team Foundation Server Integration
Broad SharePoint SupportDevelop, Deploy and DebugWeb Part Designer
Project Types
SharePoint Designer 2010
No 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 2010Save site as template in SharePoint Site Settings creates WSP
WSP imports into Visual Studio 2010 as new project
SharePoint Designer 2010
demo
SharePoint 2010 Integration with PowerShell
What does scripting platform improvements mean for developers?
What is Windows PowerShell?
An interactive command-line and task-based scripting technology.
Allows IT professionals and developers to accelerate automation of tasks.
A single mindset for management of many different systems (e.g.: AD, Exchange, Windows)
Extensible framework that can be embedded inside other applications
You can develop your own custom PowerShell snap-ins to streamline development and deployment
Performance benefits for batch operations
Getting Started with PowerShell
(4) Redirect output to new text file
(2) Filter results using where clause(1) Execute a Cmdlet(3) Add formatting instructions
The SharePoint Powershell Snapin
Explicitly load SharePoint PowerShell snap-in from console or script
Implicitly load snap-in by using link in Windows Start menu
Begin using SharePoint Cmdlets
Creating a Custom Powershell Snap-in
PowerShell was created with extensibility in mind
SharePoint developers can create custom snap-ins
STSADM extensions are now considered deprecated
PowerShell in practice and how to create custom cmdlets
demo
Claims based Identity
What does claims based identity mean for developers
SharePoint 2010 Security
SharePoint 2010 radically changes authentication
SPF moves to claim-based security model
SharePoint 2007 style now considered legacy mode
Why?It decouples SPF from authentication provider
Supports multiple authentication providers for one URL
Identity can be passed without Kerberos delegation
It enables federation between organizations
ACLs configured with DLs, Audiences and Orgs
PeoplePicker controls understands claims
Claims in SharePoint 2010
Two important scenarios
Incoming claims
Outgoing claims
How do incoming claims work?Identity token created by external identity STS
SharePoint STS creates claim-based identity
SharePoint STS based on Claims Provider
Incoming claim identity is mapped to SPUser
Authorization of SPUser just like it is in SharePoint 2007
Development Opportunities
Same as in SharePoint 2007
Write code that creates groups
Write code that assigns permissions
New to SharePoint 2010Create a custom claims-provider
Create an identity transformation service with Geneva Server
Developing and deploying claims providers
Claims providers have two roles
Augmentation Add additional claims into user token
Picking - provides listing, resolve, search and friendly display of claims functionality in the people picker
Custom provider is implemented by inheriting SPClaimsProvider
Deployment done by creating feature and feature receiver that derives from SPClaimsProviderFeatureReceiver class
Summary
Whats New in SharePoint 2010 for developers
New Developer Tools for SharePoint 2010
SharePoint 2010 Integration with PowerShell
Claims based identity
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.
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Advanced Developer Training
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Click to edit the title text formatClick to edit Master title style
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Click to edit the title text formatClick to edit Master title style
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level
Ninth Outline LevelClick to edit Master text styles
Second level
Third level
Fourth level
Fifth level
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Click to edit the title text formatClick to edit Master title style
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level
Ninth Outline LevelClick to edit Master text styles
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Click to edit the title text formatClick to edit Master title style
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level
Ninth Outline LevelClick to edit Master text styles
Second level
Third level
Fourth level
Fifth level
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Click to edit the title text formatClick to edit Master title style
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Click to edit the title text formatClick to edit Master title style
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level
Ninth Outline Levelclick to
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010
Click to edit the title text formatClick to edit Master title style
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level
Ninth Outline LevelClick to edit Master text styles
Second level
Third level
Fourth level
Fifth level
Click to edit the outline text formatSecond Outline LevelThird Outline LevelFourth Outline LevelFifth Outline LevelSixth Outline LevelSeventh Outline LevelEighth Outline Level
Ninth Outline LevelClick to edit Master text styles
Second level
Third level
Fourth level
Fifth level
2010 Microsoft Corporation. All rights reserved. RTM Content - Published May 2010