SlideShare a Scribd company logo
1 of 24
Visual Studio 2010 SharePoint Tools
Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
SharePoint 2007 Development Visual Studio Experience Is Limited Visual Studio Extensions for WSS Visual Studio Tools for Office with VS2008 SharePoint developers reliant on community tools Developers have to deal with tedious details Manually editing CAML files Understanding RootFiles directory of WSS Manual edits to manifest.xml file Building .wsp file for solution package
Visual Studio 2010 SharePoint Tools End-to-end SharePoint 2010 developer story SharePoint Explorer for site exploration SharePoint 2010 project and item templates Visual designers for core scenarios Migration path for Visual Studio 2008 for WSS 3.0 Extensible by 3rd party developers Benefits to SharePoint developers Abstracts away details of RootFiles directory Abstracts away details of building .wsp file Lessens/eliminates need for external utilities
SharePoint Explorer Add-in for Server Explorer window Easy way to examine site artifacts Quick way to launch browser into site SharePoint Explorer extensibility Developers can write add-ins to populate nodes and provide contextual menu commands
SharePoint Explorer demo
Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
SharePoint 2010 Project Templates SharePoint Projects have standard properties Project File Project Folder Active Deployment Configuration Include Assembly in Package Assembly Deployment Target Sandboxed Solution Site URL Startup Item
SharePoint 2010 Project Structure Standard Project Nodes Properties(standard with all Visual Studio projects) References(standard with all Visual Studio projects) Features(added by SharePoint Tools) Package(added by SharePoint Tools) SharePoint Project Items(added using SharePoint Tools Project Item Templates)
Feature Node and Feature Designer Feature node contains one or more features Feature designer provides design mode and XML text Mode Customize feature properties in designer and/or property grid Use Context menu of Feature node to add feature event receiver Feature designer allows adding/removing SPIs Customize feature activation dependencies
Mapped Folders Mapped Folders used to deploy to RootFiles Layouts folder maps to virtual path /_layouts Images folder maps to virtual path /_layouts You can map other folders inside RootFiles directory Layouts folder key to creating application pages Best practice to create solution-specific folder inside Layouts
SPT Deployment Options Two Deployment configuration by default Default No Activation
The F5 Debugging Experience What does F5 do? Builds new version of .wsp file Deactivates/uninstalls feature Retracts/deletes old .wsp file Adds/deploys new .wsp file Activates feature in target site (via Site Url) Attaches debugger to W3WP.EXE worker process (via Site URL)
Hello World with VS 2010 SharePoint Tools demo
Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
SharePoint Project Items (SPIs) Projects built with SharePoint Items (SPIs) SPI is a logical collection of project filesExamples of SPIs are WebParts, List Defs, Workflows, etc Each SPI has folder with SPI files Compilation & deployment details abstracted away through SPI file properties
SPI File Properties Project tracks properties for each SPI File Visual Studio properties for compilation SharePoint 2010 properties for deployment
SharePoint Project Item Templates
MetroWebParts demo
Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
SharePoint  2010 Tools Extensibility SharePoint 2010 Project system extensibility Custom extensions integrate into VS10 designer experience Used to create custom SPIs not supported out-of-box Much easier than standard VS extensibility model SPI & Context Menu extensibility Extend VS context menu for standard and custom SPIs Provide extensibility to enable access to SP server API SP Explorer Nodes & Menu extensibility Create extension to add a node to the SP Explorer Create extension to enhance existing node
Creating a Custom SPI Creating a custom SPI Template Custom SPI is a creatable project item template Used to add SPI instance to SharePoint projects You can extend SPI with custom menus and properties  Each SPI instance gets it own folder and can be initialized with a set of files Custom SPI Template SPI can be extended with custom menu commands Custom SPI Template used to add SPI instances to project SPI can be extended with custom properties
CustomAction demo
Summary Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility

More Related Content

What's hot

TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
Michael Noel
 
SharePoint Saturday Sacramento Business Intelligence with SharePoint 2010
SharePoint Saturday Sacramento  Business Intelligence with SharePoint 2010SharePoint Saturday Sacramento  Business Intelligence with SharePoint 2010
SharePoint Saturday Sacramento Business Intelligence with SharePoint 2010
Ivan Sanders
 
Schaeflein Dev409 Enterprise Branding Using Site Definitions
Schaeflein Dev409 Enterprise Branding Using Site DefinitionsSchaeflein Dev409 Enterprise Branding Using Site Definitions
Schaeflein Dev409 Enterprise Branding Using Site Definitions
mferraz
 
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All TogetherKathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
SharePoint Saturday NY
 
SharePoint 2013 Dev Features
SharePoint 2013 Dev FeaturesSharePoint 2013 Dev Features
SharePoint 2013 Dev Features
Ricardo Wilkins
 

What's hot (20)

ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
ECS19 - Nik Charlebois - Automate the Deployment & Monitoring of SharePoint w...
 
4 tools, sandboxed solutionds, web part development
4   tools, sandboxed solutionds, web part development4   tools, sandboxed solutionds, web part development
4 tools, sandboxed solutionds, web part development
 
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
TechEd Africa 2011 - OFC307: Architecting a Disaster Tolerant and Highly Avai...
 
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer PlatformSoCalCodeCamp SharePoint Server 2010 a Developer Platform
SoCalCodeCamp SharePoint Server 2010 a Developer Platform
 
A Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deploymentA Deep Dive into SharePoint 2016 architecture and deployment
A Deep Dive into SharePoint 2016 architecture and deployment
 
SharePoint Saturday Sacramento Business Intelligence with SharePoint 2010
SharePoint Saturday Sacramento  Business Intelligence with SharePoint 2010SharePoint Saturday Sacramento  Business Intelligence with SharePoint 2010
SharePoint Saturday Sacramento Business Intelligence with SharePoint 2010
 
Designing SharePoint solutions – Big Decisions for Big Success
Designing SharePoint solutions – Big Decisions for Big SuccessDesigning SharePoint solutions – Big Decisions for Big Success
Designing SharePoint solutions – Big Decisions for Big Success
 
SharePoint Saturday NYC - Business Intelligence
SharePoint Saturday NYC - Business IntelligenceSharePoint Saturday NYC - Business Intelligence
SharePoint Saturday NYC - Business Intelligence
 
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JSCross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
Cross Site Collection Navigation using SPFx, Powershell PnP & PnP-JS
 
Share point overview
Share point overviewShare point overview
Share point overview
 
The SharePoint 2013 App Model
The SharePoint 2013 App ModelThe SharePoint 2013 App Model
The SharePoint 2013 App Model
 
Schaeflein Dev409 Enterprise Branding Using Site Definitions
Schaeflein Dev409 Enterprise Branding Using Site DefinitionsSchaeflein Dev409 Enterprise Branding Using Site Definitions
Schaeflein Dev409 Enterprise Branding Using Site Definitions
 
SharePoint Intelligence Extending Share Point Designer 2010 Workflows With Cu...
SharePoint Intelligence Extending Share Point Designer 2010 Workflows With Cu...SharePoint Intelligence Extending Share Point Designer 2010 Workflows With Cu...
SharePoint Intelligence Extending Share Point Designer 2010 Workflows With Cu...
 
SPUnite17 Introduction to the Office Dev PnP Core Libraries
SPUnite17 Introduction to the Office Dev PnP Core LibrariesSPUnite17 Introduction to the Office Dev PnP Core Libraries
SPUnite17 Introduction to the Office Dev PnP Core Libraries
 
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UICross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
Cross Site Collection Navigation with SPFX, PowerShell PnP, PnP-JS, Office UI
 
SPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFxSPUnite17 Building Great Client Side Web Parts with SPFx
SPUnite17 Building Great Client Side Web Parts with SPFx
 
[Jansen] Transforming your classic team sites into modern group connected tea...
[Jansen] Transforming your classic team sites into modern group connected tea...[Jansen] Transforming your classic team sites into modern group connected tea...
[Jansen] Transforming your classic team sites into modern group connected tea...
 
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All TogetherKathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
Kathryn Birstein: SharePoint 2010 Business Intelligence-Brining It All Together
 
O365Con18 - Site Templates, Site Life Cycle Management and Modern SharePoint ...
O365Con18 - Site Templates, Site Life Cycle Management and Modern SharePoint ...O365Con18 - Site Templates, Site Life Cycle Management and Modern SharePoint ...
O365Con18 - Site Templates, Site Life Cycle Management and Modern SharePoint ...
 
SharePoint 2013 Dev Features
SharePoint 2013 Dev FeaturesSharePoint 2013 Dev Features
SharePoint 2013 Dev Features
 

Similar to Share Point Development With Vs10

Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share Point
Chakkaradeep Chandran
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
MicrosoftFeed
 
Share Point 2010 Workflow
Share Point 2010 WorkflowShare Point 2010 Workflow
Share Point 2010 Workflow
Phuong Nguyen
 
SharePoint 2010 Application Development
SharePoint 2010 Application DevelopmentSharePoint 2010 Application Development
SharePoint 2010 Application Development
mattbremer
 
SharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, WorkflowSharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, Workflow
Jonathon Schultz
 
Whats New In Share Point Designer 2010 Ayman El Hattab Cairo Code Camp
Whats New In Share Point Designer 2010    Ayman El Hattab   Cairo Code CampWhats New In Share Point Designer 2010    Ayman El Hattab   Cairo Code Camp
Whats New In Share Point Designer 2010 Ayman El Hattab Cairo Code Camp
Ayman El-Hattab
 
SharePoint 2010 and its development tools
SharePoint 2010 and its development toolsSharePoint 2010 and its development tools
SharePoint 2010 and its development tools
Shakir Majeed Khan
 
Using workflows in share point 2010
Using workflows in share point 2010Using workflows in share point 2010
Using workflows in share point 2010
amitvasu
 

Similar to Share Point Development With Vs10 (20)

Visual Studio 2010 for SharePoint Developers
Visual Studio 2010 for SharePoint DevelopersVisual Studio 2010 for SharePoint Developers
Visual Studio 2010 for SharePoint Developers
 
Visual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share PointVisual Studio2010 Tools For Share Point
Visual Studio2010 Tools For Share Point
 
SharePoint 2010 Development
SharePoint 2010 DevelopmentSharePoint 2010 Development
SharePoint 2010 Development
 
Session 3 - Developer Tools-Sharepoint firestarter-paul yuknewicz
Session 3 - Developer Tools-Sharepoint firestarter-paul yuknewiczSession 3 - Developer Tools-Sharepoint firestarter-paul yuknewicz
Session 3 - Developer Tools-Sharepoint firestarter-paul yuknewicz
 
Using Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 SolutionsUsing Visual Studio to Build SharePoint 2010 Solutions
Using Visual Studio to Build SharePoint 2010 Solutions
 
What’s New for Devs
What’s New for DevsWhat’s New for Devs
What’s New for Devs
 
Share Point 2010 Workflow
Share Point 2010 WorkflowShare Point 2010 Workflow
Share Point 2010 Workflow
 
SharePoint development 2017 wrap-up
SharePoint development   2017 wrap-upSharePoint development   2017 wrap-up
SharePoint development 2017 wrap-up
 
What's New for SP2010 Devs
What's New for SP2010 DevsWhat's New for SP2010 Devs
What's New for SP2010 Devs
 
Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5Developer application lifecycle process and tools - v.5
Developer application lifecycle process and tools - v.5
 
SharePoint 2010 Application Development
SharePoint 2010 Application DevelopmentSharePoint 2010 Application Development
SharePoint 2010 Application Development
 
SharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, WorkflowSharePoint 2010 - InfoPath, Workflow
SharePoint 2010 - InfoPath, Workflow
 
Workflow in SharePoint 2010
Workflow in SharePoint 2010Workflow in SharePoint 2010
Workflow in SharePoint 2010
 
Whats New In Share Point Designer 2010 Ayman El Hattab Cairo Code Camp
Whats New In Share Point Designer 2010    Ayman El Hattab   Cairo Code CampWhats New In Share Point Designer 2010    Ayman El Hattab   Cairo Code Camp
Whats New In Share Point Designer 2010 Ayman El Hattab Cairo Code Camp
 
SharePoint 2010 and its development tools
SharePoint 2010 and its development toolsSharePoint 2010 and its development tools
SharePoint 2010 and its development tools
 
Using workflows in share point 2010
Using workflows in share point 2010Using workflows in share point 2010
Using workflows in share point 2010
 
SP2010 Developer Tools
SP2010 Developer ToolsSP2010 Developer Tools
SP2010 Developer Tools
 
Taking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices ConferenceTaking SharePoint 2010 Offline - European Best Practices Conference
Taking SharePoint 2010 Offline - European Best Practices Conference
 
SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)SharePoint Development(Lesson 5)
SharePoint Development(Lesson 5)
 
Getting Started with SharePoint Development
Getting Started with SharePoint DevelopmentGetting Started with SharePoint Development
Getting Started with SharePoint Development
 

More from Phuong Nguyen (6)

Development mobile app cross device
Development mobile app cross deviceDevelopment mobile app cross device
Development mobile app cross device
 
New Features In Power Pivot 2010
New Features In Power Pivot 2010New Features In Power Pivot 2010
New Features In Power Pivot 2010
 
Summary Project Server Psi
Summary Project Server PsiSummary Project Server Psi
Summary Project Server Psi
 
Customize Olap By Amo
Customize Olap By AmoCustomize Olap By Amo
Customize Olap By Amo
 
Claims Based Authentication A Beginners Guide
Claims Based Authentication A Beginners GuideClaims Based Authentication A Beginners Guide
Claims Based Authentication A Beginners Guide
 
Workflow
WorkflowWorkflow
Workflow
 

Share Point Development With Vs10

  • 1. Visual Studio 2010 SharePoint Tools
  • 2. Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
  • 3. SharePoint 2007 Development Visual Studio Experience Is Limited Visual Studio Extensions for WSS Visual Studio Tools for Office with VS2008 SharePoint developers reliant on community tools Developers have to deal with tedious details Manually editing CAML files Understanding RootFiles directory of WSS Manual edits to manifest.xml file Building .wsp file for solution package
  • 4. Visual Studio 2010 SharePoint Tools End-to-end SharePoint 2010 developer story SharePoint Explorer for site exploration SharePoint 2010 project and item templates Visual designers for core scenarios Migration path for Visual Studio 2008 for WSS 3.0 Extensible by 3rd party developers Benefits to SharePoint developers Abstracts away details of RootFiles directory Abstracts away details of building .wsp file Lessens/eliminates need for external utilities
  • 5. SharePoint Explorer Add-in for Server Explorer window Easy way to examine site artifacts Quick way to launch browser into site SharePoint Explorer extensibility Developers can write add-ins to populate nodes and provide contextual menu commands
  • 7. Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
  • 8. SharePoint 2010 Project Templates SharePoint Projects have standard properties Project File Project Folder Active Deployment Configuration Include Assembly in Package Assembly Deployment Target Sandboxed Solution Site URL Startup Item
  • 9. SharePoint 2010 Project Structure Standard Project Nodes Properties(standard with all Visual Studio projects) References(standard with all Visual Studio projects) Features(added by SharePoint Tools) Package(added by SharePoint Tools) SharePoint Project Items(added using SharePoint Tools Project Item Templates)
  • 10. Feature Node and Feature Designer Feature node contains one or more features Feature designer provides design mode and XML text Mode Customize feature properties in designer and/or property grid Use Context menu of Feature node to add feature event receiver Feature designer allows adding/removing SPIs Customize feature activation dependencies
  • 11. Mapped Folders Mapped Folders used to deploy to RootFiles Layouts folder maps to virtual path /_layouts Images folder maps to virtual path /_layouts You can map other folders inside RootFiles directory Layouts folder key to creating application pages Best practice to create solution-specific folder inside Layouts
  • 12. SPT Deployment Options Two Deployment configuration by default Default No Activation
  • 13. The F5 Debugging Experience What does F5 do? Builds new version of .wsp file Deactivates/uninstalls feature Retracts/deletes old .wsp file Adds/deploys new .wsp file Activates feature in target site (via Site Url) Attaches debugger to W3WP.EXE worker process (via Site URL)
  • 14. Hello World with VS 2010 SharePoint Tools demo
  • 15. Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
  • 16. SharePoint Project Items (SPIs) Projects built with SharePoint Items (SPIs) SPI is a logical collection of project filesExamples of SPIs are WebParts, List Defs, Workflows, etc Each SPI has folder with SPI files Compilation & deployment details abstracted away through SPI file properties
  • 17. SPI File Properties Project tracks properties for each SPI File Visual Studio properties for compilation SharePoint 2010 properties for deployment
  • 20. Outline Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility
  • 21. SharePoint 2010 Tools Extensibility SharePoint 2010 Project system extensibility Custom extensions integrate into VS10 designer experience Used to create custom SPIs not supported out-of-box Much easier than standard VS extensibility model SPI & Context Menu extensibility Extend VS context menu for standard and custom SPIs Provide extensibility to enable access to SP server API SP Explorer Nodes & Menu extensibility Create extension to add a node to the SP Explorer Create extension to enhance existing node
  • 22. Creating a Custom SPI Creating a custom SPI Template Custom SPI is a creatable project item template Used to add SPI instance to SharePoint projects You can extend SPI with custom menus and properties Each SPI instance gets it own folder and can be initialized with a set of files Custom SPI Template SPI can be extended with custom menu commands Custom SPI Template used to add SPI instances to project SPI can be extended with custom properties
  • 24. Summary Introduction to VS2010 SharePoint Tools SharePoint Tools Project Structure Adding SPIs to a Project SharePoint Tools Extensibility

Editor's Notes

  1. This lecture provides an introduction to the new SharePoint Tools that are included with Visual Studio 2010.
  2. The developer experience for SharePoint 2007 has been less than ideal due to a lack of tool support, wizards and designers. Many developers coming from a background with .NET and ASP.NET development have been frustrated at the need to write batch files, work in the command line and write XML in a under-documented language know as Collaborative Application Markup Language (CAML).The functionality of Visual Studio Extensions for WSS 3.0 was much improved as it evolved from version 1.0 to 1.3. Although even the latest version does not provide an end-to-end solution for SharePoint development. Many SharePoint 2007 developers have an arsenal of community tools to accomplish many of the required tasks within SharePoint development.
  3. The Visual Studio 2010 SharePoint Tools (SPT) represents a significant step forward for professional developers using SharePoint. SharePoint Explorer fallows quick exploration through a siteThis makes it possible to launch browser at specific place within siteSharePoint 2010 introduce a new project structure as well as project tmplates and project item templates. There are designers to create things like features and solution packages.One of the most appealing aspects of SPT is that it is extensibleYou can add your own custom project templates and item templatesYou can add menu commands into the Visual Studio UI.
  4. The SharePoint Explorer is a simple easy-to-use tools.It provides a read-only treeview of a SharePoint site.Note that SharePoint Explorer only works on sites that are running locally
  5. Simple on minute demo.Create a new team site in Central adminGo to Visual Studio and connect SharePoint Explorer to new siteShow what lists already exist within site.Click on list to bootstrap browser into site at list’s default view
  6. Create an empty projectAdd VisualWebPart project itemAdd ApplicationPage project itemCreate mapped Images directory and add image