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.
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
What's New for Developers in SharePoint 2010
1. What’s New for Developers in SharePoint 2010Geoff Varosky
2. 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
3. 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
4. http://www.bostonsharepointug.org Meeting Every 2nd Wednesday of the Month @ Microsoft N.E.R.D. Center in Cambridge, MA 6PM – 8PM Next Meeting - 7/14, Bob German (Microsoft) “Developing Great Applications in SharePoint 2010 with Silverlight” Questions/Comments – info@bostonsharepointug.org Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
5. Quick Poll Who currently uses SharePoint? Who has done any SharePoint Development? Who has plans to move/install SharePoint 2010? Who has seen SharePoint 2010? Who has installed SharePoint 2010? Who has developed in SharePoint 2010? Who has used SharePoint Designer or PowerShell? Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
7. History In the beginning… Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
8. History In the beginning… SharePoint Team Services / SPS 2001 Visual Studio SDK API Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
9. History Then back in ‘03 Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
10. 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
11. History Then in ’07 Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
12. History Then in ’07 WSS v3 and MOSS 2007 SDKs API Lots more books and blogs Many more 3rd Party Tools to Assist Developers WSP Builder STSDev VSeWSS SharePoint Manager SharePoint Solution Installer Features + Solution Packages Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
13. History Then here comes 2010 – Paydirt! Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
14. 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
17. 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
31. 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
34. Visual Studio 2010 & SharePoint Toolkit TFS Integration BCS Support WSP Importing SharePoint Project System SharePoint Explorer Extensibility Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
35. 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
36. 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
37. 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
38. 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
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 From 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
113. http://www.bostonsharepointug.org Meeting Every 2nd Wednesday of the Month @ Microsoft N.E.R.D. Center in Cambridge, MA 6PM – 8PM Next Meeting - 7/14, Bob German (Microsoft) “Developing Great Applications in SharePoint 2010 with Silverlight” Questions/Comments – info@bostonsharepointug.org Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
114. Upcoming Speaking Engagements SharePoint NATION! July 21st (online virtual users group) Creating Custom Actions in SharePoint http://www.sharepointnation.org SharePoint Saturday NYC Creating Custom Actions in SharePoint 2010 http://www.sharepointsaturday.org/ny SharePoint Best Practices Conference – D.C. – August 24th-27th“Just Work!” Avoiding Common Hurdles in SharePoint Custom Development http://www.bestpracticesconference.com SharePoint Technology Conference Boston – October 20th – 22nd Creating Custom Actions in SharePoint “Just Work!” Avoiding Common Hurdles in SharePoint Custom Development http://www.sptechcon.com Twitter: @gvaro Email: gvarosky@grace-hunt.com Blog: www.geoffvarosky.com Company: www.grace-hunt.com
115. 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