210 likes | 323 Views
Introduction to SharePoint Development with VS2010. Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com. Developer Tools for SharePoint. Familiar VS Experience Build, Debug & Deploy SharePoint projects View SharePoint sites in Server Explorer
E N D
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com
Developer Tools for SharePoint • Familiar VS Experience • Build, Debug & Deploy SharePoint projects • View SharePoint sites in Server Explorer • Visual designers for Web Parts, BDC and Workflows • Team Foundation Server integration • Application Lifecycle Management • Broad SharePoint Support • Supports SharePoint Foundation & Server • Build & deploy sandboxed & farm solutions • Business Connectivity Services • Expanded workflow support • SharePoint Designer Visual Studio continuum
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 SP2010 developer environment • http://msdn.microsoft.com/en-us/library/ee554869.aspx
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
Demo Templates & Designers
Development Continuum Designer - IW - Power User Professional Developer Business Analyst -Process Designer 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
Demo Development Continuum
Project System • Project commands • Package, Retract • Project properties • Sandboxed, Site URL, etc… • Features & Package nodes • Mapped folders • Project items & files have SharePoint specific properties
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)
Server Explorer Integration • Provides hierarchical view of local SharePoint sites & artifacts • View site collections, sites, features, lists, fields, etc… • View properties of artifacts
Demo Project System & Packaging
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
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
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 • Code Gallery: SharePoint 2010 Extensibility Projects • Silverlight, Ribbon & OBA Deployment project templates • http://code.msdn.microsoft.com/vsixforsp • SharePoint List Designer Extension – Coming soon! • Content Type & List designers • Community Kit for SharePoint: DevTools Edition • Project, item, deployment, and server explorer extensions • http://cksdev.codeplex.com/
Demo Extensibility
Team Foundation Server 2010Application Lifecycle Management • Work Item Tracking • Source Code Control • Team Build • Gated Check-In • Package WSP • Bug Management • Code Analysis tools • Automated testing • Architecture tools • Team Portal (Reports) • Office Integration
Demo Discussing in the next hour
Contact Me • Email • paulyuk@microsoft.com • MSDN Dev Center • http://msdn.com/sharepoint • MSDN Forum • http://social.msdn.microsoft.com/Forums/en-US/vssharepointdevelopment • SharePoint Development Blog • http://sharepoint.microsoft.com/blog
Resources • http://msdn.com/sharepoint • Visual Studio SharePoint development blog • MSDN SharePoint developer getting started videos • Channel9 SharePoint 2010 developer training videos • Microsoft Patterns & Practices SP2010 guidance • SharePoint 2010 developer platform white paper • SharePoint samples • MSDN Library – SP development in VS2010