introduction to sharepoint development with vs2010 paul yuknewicz lead program manager...
TRANSCRIPT
![Page 2: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/2.jpg)
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
![Page 3: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/3.jpg)
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
![Page 4: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/4.jpg)
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
![Page 5: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/5.jpg)
Templates & Designers
Demo
![Page 6: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/6.jpg)
Development Continuum
Import
Export
Professional DeveloperBusiness Analyst -Process Designer
Design skeleton workflow processes
View workflow visualizations
Design data-backed business diagrams
Custom Web Parts
Code Workflows
Event Receivers
List Definitions
Application Pages
WSP Packag
e
Designer - IW - Power User
Create lists & libs
Design Web Pages
Web part hook-up
Views & forms
Declarative Workflows
![Page 7: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/7.jpg)
Development Continuum
Demo
![Page 8: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/8.jpg)
Project System
• Project commands– Package, Retract
• Project properties– Sandboxed, Site URL, etc…
• Features & Package nodes• Mapped folders• Project items & files have
SharePoint specific properties
![Page 9: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/9.jpg)
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)
![Page 10: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/10.jpg)
Server Explorer Integration
• Provides hierarchical view of local SharePoint sites & artifacts
• View site collections, sites, features, lists, fields, etc…
• View properties of artifacts
![Page 11: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/11.jpg)
Project System & Packaging
Demo
![Page 12: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/12.jpg)
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
![Page 13: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/13.jpg)
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
![Page 14: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/14.jpg)
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: Dev Tools Edition– Project, item, deployment, and server explorer extensions– http://cksdev.codeplex.com/
![Page 15: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/15.jpg)
Extensibility
Demo
![Page 16: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/16.jpg)
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
![Page 17: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/17.jpg)
Discussing in the next hour
Demo
![Page 18: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/18.jpg)
Contact Me
• Email– [email protected]
• 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
![Page 19: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/19.jpg)
Questions
![Page 20: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/20.jpg)
Resources
• http://msdn.com/sharepoint• Visual Studio SharePoint development blog• MSDN SharePoint developer getting started videos• Channel9 SharePoint 2010 developer training video
s• Microsoft Patterns & Practices SP2010 guidance• SharePoint 2010 developer platform white paper• SharePoint samples• MSDN Library – SP development in VS2010
![Page 21: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com](https://reader038.vdocuments.us/reader038/viewer/2022110400/56649dd05503460f94ac6473/html5/thumbnails/21.jpg)