html5-img
1 / 31

Visual Studio 2010 SharePoint Development Tools Overview

Visual Studio 2010 SharePoint Development Tools Overview. Reza Chitsaz Program Manager Microsoft Corporation Session Code: OFS211. Evolution of SharePoint Tooling. VSeWSS 1.3. VS2005. VS2008. VSeWSS. VS2010. +. +. Multiple Visual Designers Packaging and Deployment

liam
Télécharger la présentation

Visual Studio 2010 SharePoint Development Tools Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Visual Studio 2010 SharePoint Development Tools Overview Reza Chitsaz Program Manager Microsoft Corporation Session Code: OFS211

  2. Evolution of SharePoint Tooling • VSeWSS 1.3 • VS2005 • VS2008 • VSeWSS • VS2010 + + • Multiple Visual Designers • Packaging and Deployment • Project & Item Templates • TFS integration • Extensible Projects & Tools • 64 bit support • WSP View Improved • Separate Package Command • Command Line Build • F5 Deploy Debug • WSP Packaging • SPSolGen • WSP View • Sequential Workflow • State Machine Workflow Upgrade Tool 2007 2008 2009 2010

  3. Visual Studio SharePoint SupportDevelopment environment requirements • Requires x64 operating system • Windows 7 • Windows Vista SP1 • Windows Server 2008 • Windows Server 2008R2 • SharePoint 2010 must be installed locally • SharePoint Foundation or SharePoint Server • Visual Studio 2010

  4. Visual Studio SharePoint SupportTemplates and designers • Project and Item Templates • Templates for many SharePoint elements • 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

  5. Project Templates

  6. Project Wizard Site used to deploy & debug solution Support for sandboxed solutions

  7. Item Templates

  8. Demo Scenario Overview Web Part Custom Delete Event Receiver Assets Inventory List

  9. demo Running Application in SharePoint

  10. Content Type and List Def. Web Part • Custom Asset Content Type • Asset Tag – Text • Asset Title – Text • Asset Cost – Integer • Asset Category – Choice • Asset Count (Items in Stock) – Integer • Asset List Definition for storing Assets that can be checked out Assets Inventory List Custom Delete Event Receiver

  11. demo Building a custom Content Type and List Definition

  12. Visual Web Part and LINQ to SharePoint Web Part • Create a Visual Web Part to • Display the list of assets available for checkout • Allow end user to select assets and checkout • Checking out reduces inventory count of asset • Use LINQ to SharePoint to get the list of assets from the content DB Assets Inventory List Custom Delete Event Receiver

  13. demo Visual Web Part and LINQ to SharePoint

  14. BCS BCS and External Lists Employees Database • Use BCS to display external data in SharePoint as an External List • EmployeeID • Last Name • First Name • Title • City • Country • Notes

  15. demo Building BDC model and External List

  16. Development Continuum Business Analyst/Process Designer Designer/IW/Power User Professional developer 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

  17. Import SPD Workflow • Import SPD created reusable workflow from WSP • XOML and rules files are imported • Elements XML file is created • Add, delete, modify activities and code • Add association and initiation forms • F5 to deploy and debug

  18. Import SharePoint Solution(WSP) • Wizard for developer to select WSP • Declarative elements can be selected for import • Modify imported items and extend by adding additional items, code, etc…

  19. demo Development Continuum

  20. Visual Studio SharePoint SupportProject system • Project commands • Package, Retract • Project properties • Sandboxed, Site URL, etc… • Features & Package nodes • Mapped folders • Project items & files have SharePoint specific properties

  21. SP Connections in Server Explorer • Tool window which provides hierarchical view of local SharePoint sites & artifacts • View site collections, sites, features, lists, fields, etc… • View properties for artifacts • Add any number of connections to different site collections

  22. Feature Designer Key feature properties Add/Remove items to feature Feature Activation Dependencies View/Edit Feature XML

  23. Package Designer Package name Add/Remove items & features Add assemblies, safe controls, resources View/Edit Package Manifest

  24. Packaging ExplorerProject and Items Packages Packages Features Features SharePoint Project Items (SPIs) SharePoint Project Items (SPIs)

  25. Visual Studio ExtensibilityProject and Items • Project Extensions • Add context menus • Add/Set project properties • Handle project events • Project Item Extensions • Extend in-the-box items • Add context menus • Add to property grid • Add designers over XML files • Handle events • Create new items • Create wizards • Handle deployment events

  26. Visual Studio ExtensibilityServer Explorer and deployment steps • Server Explorer Extensions • Extend in-the-box SharePoint nodes • Add context menus to provide additional functionality • Display information in property grid • Create new SharePoint nodes • Add nodes to display artifacts not shown by default • Deployment Extensions • Create new deployment steps • Create new deployment configurations which leverage your new steps

  27. Summary – SharePoint Development with Visual Studio Familiar Visual Studio Experience • Build, Debug & Deploy SharePoint projects • View SharePoint sites in Server Explorer • Visual designers for Web Parts, BDC and Workflows • Integration with Visual Studio’s ALM support Web Part Designer Broad SharePoint Support • SharePoint sandboxed solution support • Business Connectivity Services support • Expanded Workflow support • SharePoint Designer  Visual Studio continuum Packaging Explorer

  28. Questions • I will be at the Visual Studio booth • I am online at: • MSDN Visual Studio forums • http://MSSharePointForums.com

  29. Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!

  30. Required Slide © 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

More Related