Visual Studio 2010 includes developer tools for building, debugging, and deploying SharePoint projects. It provides visual designers for web parts, workflows, and business connectivity models. The tools integrate with Team Foundation Server and support application lifecycles. Visual Studio allows developing sandboxed and farm solutions for SharePoint Foundation and Server. It provides a continuum for different types of developers from business analysts to coders.
1. Visual Studio 2010 SharePoint Developer Tools Paul Yuknewicz Senior Program Manager – Visual Studio
2. Developer Tools for SharePoint Familiar VS Experience Build, Debug, Deploy SharePoint projects Visual designers for Web Parts, BDC and Workflows View SharePoint sites in Server Explorer Team Foundation Server integration Application Lifecycle Management Broad SharePoint Support Supports SharePoint Foundation & Server Sandboxed & farm solutions Business Connectivity Services Expanded workflow support SP Designer Visual Studio continuum
3. Developer Environment Visual Studio 2010 & SharePoint 2010 on same machine Must use 64-bit OS Windows 7 Windows Vista SP1 Windows Server 2008 (R2) How to setup a SP2010 developer environment http://msdn.microsoft.com/en-us/library/ee554869.aspx SharePoint Easy Setup for Developers http://blogs.msdn.com/b/cjohnson/archive/2010/10/28/announcing-sharepoint-easy-setup-for-developers.aspx
4. Templates and Designers Project and Item Templates Templates for many SharePoint artifacts Wizards collect artifact information Support for sandboxed solutions Visual Designers Design web parts Build Business Data Connectivity (BDC) models Create Workflows Workflow Enhancements Site level workflows Templates for association & initiation forms
6. Development Continuum Professional developer Business Analyst/Process Designer Designer/IW/Power User Import Create lists & libs Design Web Pages Web part hook-up Views & forms Declarative Workflows Custom Web Parts Code Workflows Event Receivers List Definitions Application Pages Design skeleton workflow processes View workflow visualizations Design data-backed business diagrams WSP Package Export
8. Project System Project commands Package, Retract Project properties Sandboxed, Site URL, etc… Features & Package nodes Mapped folders Items/Files have SharePoint specific properties
9. Features & Packaging Feature Designer Add/Remove Items to Feature View/Change manifest directly Package Designer Add/Remove Items to Package View/Change manifest directly Packaging Explorer Hierarchically view all Packages, Features, Artifacts in Solution (across projects)
10. Server Explorer Integration Provides hierarchical view of local SharePoint sites & artifacts View site collections, sites, features, lists, fields, etc… View properties of artifacts
12. Extensibility Project Extensions Context menus, project properties, project events Project Item Extensions Extend in-the-box items or create new items Context menus, properties, events, designers, wizards Server Explorer Extensions Extend in-the-box nodes or create new nodes Context menus, properties
13. Extensibility Deployment Extensions New deployment steps & configurations Handle deployment events Custom conflict handling Packaging Validation Rules Add custom feature/package validation rules Rules are run during validation MSBuild Extensibility Packaging is MSBuild based Custom tasks can be created
14. Extensibility in the Wild Visual Studio Team recently released Power Tools Enhanced Sandbox Support http://visualstudiogallery.msdn.microsoft.com/en-us/8e602a8c-6714-4549-9e95-f3700344b0d9 Community Kit for SharePoint: Dev Tools Edition Project, item, deployment, and server explorer extensions http://cksdev.codeplex.com/
15. Visual Studio 2010 Service Pack 1 Beta Available Now! http://go.microsoft.com/fwlink/?LinkId=207130 IntelliTrace Break execution then replay code showing Call Stack & other data Save iTrace log file for later viewing Unit Tests Create & Execute unit tests in Visual Studio
17. Resources MSDN SharePoint Developer Team Blog MSDN SharePoint Developer Forum MSDN SharePoint Developer Center Channel9 SharePoint 2010 Developer Training Course Microsoft Patterns & Practices SP2010 guidance SharePoint 2010 Developer Platform White Paper SharePoint Developer Samples MSDN Library – SP Development in VS2010
Editor's Notes
Limitations:- IntelliTrace limited to SharePoint farm solutions only – sandboxed solutions not currently supported- Data collectors cannot not be enabled when executing SharePoint unit tests