SharePoint 2010 offers developers a unique and well deserved set of tools to aid in the development of SharePoint 2010 solutions. In this session we’ll cover improvements in the UI and the toolsets themselves, from PowerShell as a powerful scripting interface to the API, the Developer Dashboard, the SharePoint Toolkit in Visual Studio 2010, and more.
SharePoint Saturday NYC 1/30/10 - Whats New For Developers In Share Point 2010
1. What’s New for Developers in SharePoint 2010Geoff Varosky
2. PLEASE FILL OUT YOUR EVALS? PLEASE? Up for Grabs… (3) 2010 Stickers (2) Books Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
3. About Me Geoff Varosky MCP, MCTS Senior Solutions Developer for Grace-Hunt, LLC. Blog: http://www.geoffvarosky.com Email: gvarosky@grace-hunt.com Twitter: @gvaro
4. About Grace-Hunt Founded in 2004 Based in Hudson, MA Presence in North East, Mid Atlantic, and South East Regions Microsoft Gold Partner Specializing in SharePoint and Dynamics (CRM, SL, GP, NAV) Consulting, Implementation, and Integration Web: http://www.grace-hunt.com Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
6. History In the beginning… Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
7. History In the beginning… SharePoint Team Services / SPS 2001 Visual Studio SDK API Not much else, only a handful of books and blogs, and some 3rd party tools Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
8. History Then back in ‘03 Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
9. History Then back in ‘03 WSS v2 and SPS 2003 SDKs Visual Studio API Lots more books and blogs Many more 3rd Party Tools to Assist Developers Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
10. History Then in ’07 Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
11. History Then in ’07 WSS v3 and MOSS 2007 SDKs API Lots more books and blogs Many ManyMany more 3rd Party Tools to Assist Developers WSP Builder STSDev VSeWSS SharePoint Manager SharePoint Solution Installer etc. Features + Solution Packages Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
12. History Then here comes 2010 – Paydirt! Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
13. History Then here comes 2010 – Paydirt! SDKs API Enhancements New Ways of Accessing Data REST APIs, Client OM, LINQ to SharePoint Native Support in VS2010 for SharePoint Packaging, Deployment, Debugging PowerShell (SP 2010 Management Console) Developer Dashboard Sandboxed Solutions Major SPD 2010 Enhancements Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
15. SharePoint “Developer Edition” Just for developers No longer required to develop on a server Install and run SharePoint 2010 (Foundation or Server) on Desktop systems (Vista SP1+, Windows 7) Required to follow install guide instructions in SDK 64-bit System is required Not supported for production deployments Only for Standalone Installations Can be disabled via Group Policy Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
29. Visual Studio 2010 & SharePoint Toolkit Integrated debugging Project and Item Templates Required x64 and Local SharePoint Instance Visual Designers BCS Designer Web Part Designer Workflow Designer Workflows Site level workflows Templates for Initiation and Association forms Import WSP packages generated in SharePoint Designer Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
32. Visual Studio 2010 & SharePoint Toolkit Package and Deploy Solutions Natively TFS Integration Extensibility for Development of SP Artifacts BCS Support Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
33. Visual Studio 2010 & SharePoint Toolkit WSP Importing* Wizard for selecting WSP Declarative elements can be selected for import Modified and extended from there *Cannot export back to SharePoint Designer Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
34. Visual Studio 2010 & SharePoint Toolkit SharePoint Project System Project Commands Package, Retract & Deploy Solutions Project level properties Site URL, Sandboxed Features and Packaging Nodes Mapped Folders Items and Files have specific SharePoint properties Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
35. Visual Studio 2010 & SharePoint Toolkit SharePoint Explorer Tree-View of SharePoint Site and Artifacts Site Collection, Sites, Lists, Fields, Content Types, etc. Can view properties of these items Add connections to different site collections Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
36. Visual Studio 2010 & SharePoint Toolkit Extensibility Server Explorer Extensions Deployment Extensions Packaging Validation Rules MS Build Extensibility Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
55. PowerShell SharePoint 2010 Management Console Command environment allows for scripting Leverage the API directly More flexible, extensible, faster, and powerful than STSADM Snap-in for PowerShell for SharePoint Administration Hundreds of cmdlets available OOTB Can tweak options that cannot be done in the UI Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
56. Demo Using PowerShell to Enable the Developer Dashboard Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
57. PowerShell CMDLETS Get-help <cmdlet> Get-help <cmdlet> -detailed Get-Command Get-SP* Get and Set Get retrieves information Set changes information Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
58. PowerShell For More Information… Windows PowerShell for SharePoint 2010 Administrator http://snipurl.com/u76ge PowerShell CHM for SharePoint 2010 http://snipurl.com/u76fy Global SharePoint Users Group Meeting 2/2 Paul Schaeflein Talking about PWS in 2010! http://www.gspug.org Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
98. Sandboxed Solutions If you are running SharePoint on a DC, you will need to run the following PowerShell script to enable Sandboxed Solutions… $acl = Get-Acl HKLM:ystemurrentControlSetontrolomputerName$person = [System.Security.Principal.NTAccount]"Users" $access = [System.Security.AccessControl.RegistryRights]::FullControl$inheritance = [System.Security.AccessControl.InheritanceFlags]"ContainerInherit, ObjectInherit" $propagation = [System.Security.AccessControl.PropagationFlags]::None $type = [System.Security.AccessControl.AccessControlType]::Allow $rule = New-Object System.Security.AccessControl.RegistryAccessRule($person, $access, $inheritance, $propagation, $type) $acl.AddAccessRule($rule) Set-Acl HKLM:ystemurrentControlSetontrolomputerName $acl …and then make sure the User Code service is running in Central Admin Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
103. Site admins can monitor via Solutions galleryTwitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
108. API Client Object Model Simple API to perform CRUD and Management of Data in SharePoint .NET Microsoft.SharePoint.Client Microsoft.SharePoint.Client.Runtime Silverlight Microsoft.SharePoint.Client.Silverlight Microsoft.SharePoint.Client.Silverlight.Runtime JavaScript SP.js SP.Core.js SP.Runtime.js Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
109. API Client Object Model Offers a familiar and consistent object model across multiple development platforms to interact with SharePoint. Utilizes JSON and XML Connects to Client.svc, rather than Web Services for interaction Commands are batched automagically for performance considerations Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
110. API LINQ to SharePoint Entity Based Programming Strong Types and Intellisense Supports List Joining Join Lists based on Lookup Fields Multiple Lists Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
111. Resources My Blog http://www.geoffvarosky.com More information http://mssharepointdeveloper.com SharePoint Development Wiki http://www.sharepointdevwiki.com Microsoft SharePoint 2010 SDK http://msdn.microsoft.com/en-us/library/ee557253(office.14).aspx Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
112. Q&AAsk The Experts Session @ 2:30PM in Room 2 (this room) Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
113. About Me Geoff Varosky MCP, MCTS Senior Solutions Developer for Grace-Hunt, LLC. Company: http://www.grace-hunt.com Blog: http://www.geoffvarosky.com Email: gvarosky@grace-hunt.com Twitter: @gvaro
114. Speaking Schedule SharePoint Saturday Boston February 27th, 2010, Waltham, MA What’s New for Developers in SharePoint 2010 http://www.sharepointsaturday.org/boston Registration open as of Wednesday, January 27th Western Massachusetts Microsoft Technology Users Group April 20th, 2010, Chicopee, MA Creating Custom Actions within SharePoint http://www.mstech.org