Visual Studio 2010 SharePoint Development Tools Overview Reza Chitsaz Program Manager Microsoft Corporation Session Code: OFS211
Evolution of SharePoint Tooling VS2005 VS2008 VS2010 F5 Deploy Debug WSP Packaging SPSolGen WSP View + 64 bit support WSP View Improved Separate Package Command Command Line Build + Multiple Visual Designers Packaging and Deployment Project & Item Templates TFS integration Extensible Projects & Tools Sequential Workflow State Machine Workflow VSeWSS VSeWSS 1.3 Upgrade Tool 2007 2008 2009 2010
Visual Studio SharePoint Support Development 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
Visual Studio SharePoint Support Templates 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
Project Templates
Project Wizard Site used to deploy & debug solution Support for sandboxed solutions
Item Templates
Demo Scenario Overview Web Part Assets Inventory List Custom Delete Event Receiver
Microsoft SharePoint Conference 2009 Running Application in SharePoint 2/17/2019 demo Running Application in SharePoint © 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.
Content Type and List Def. Custom Delete Event Receiver Assets Inventory List 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
Microsoft SharePoint Conference 2009 2/17/2019 demo Building a custom Content Type and List Definition © 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.
Visual Web Part and LINQ to SharePoint Custom Delete Event Receiver Assets Inventory List 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
Microsoft SharePoint Conference 2009 2/17/2019 demo Visual Web Part and LINQ to SharePoint © 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.
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
Microsoft SharePoint Conference 2009 2/17/2019 demo Building BDC model and External List © 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.
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
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
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…
Development Continuum demo Development Continuum
Visual Studio SharePoint Support Project system Project commands Package, Retract Project properties Sandboxed, Site URL, etc… Features & Package nodes Mapped folders Project items & files have SharePoint specific properties
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
Feature Designer Key feature properties Add/Remove items to feature Feature Activation Dependencies View/Edit Feature XML
Package Designer Package name Add/Remove items & features Add assemblies, safe controls, resources View/Edit Package Manifest
Packaging Explorer Project and Items Packages Packages Features Features SharePoint Project Items (SPIs) SharePoint Project Items (SPIs)
Visual Studio Extensibility Project and Items Project Extensions Add context menus Add/Set project properties Handle project events Project Item Extensions Extend in-the-box items Add to property grid Add designers over XML files Handle events Create new items Create wizards Handle deployment events
Visual Studio Extensibility Server 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
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
Questions I will be at the Visual Studio booth I am online at: MSDN Visual Studio forums http://MSSharePointForums.com
Complete an evaluation on CommNet and enter to win an Xbox 360 Elite!
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.