18
Visual Studio 2010 SharePoint Developer Tools Overview Mike Morton Senior Program Manager – Visual Studio Microsoft Corporation

Visual Studio 2010 SharePoint Developer Tools Overview

Embed Size (px)

DESCRIPTION

 

Citation preview

Page 1: Visual Studio 2010 SharePoint Developer Tools Overview

Visual Studio 2010 SharePoint Developer Tools Overview

Mike MortonSenior Program Manager – Visual StudioMicrosoft Corporation

Page 2: Visual Studio 2010 SharePoint Developer Tools Overview

Developer Tools for SharePoint

− Familiar VS Experience− Build, Debug, Deploy SharePoint

projects− Visual designers for Web Parts, BDC

and Workflows− View SharePoint sites in Server

Explorer− Team Foundation Server integration− Application Lifecycle Management

− Broad SharePoint Support− Supports SharePoint Foundation &

Server− Sandboxed & farm solutions− Business Connectivity Services− Expanded workflow support− SP Designer Visual Studio continuum

Page 3: Visual Studio 2010 SharePoint Developer Tools Overview

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 a SP2010 developer environment− http://

msdn.microsoft.com/en-us/library/ee554869.aspx

− SharePoint Easy Setup for Developers− http://blogs.msdn.com/b/cjohnson/archive/20

10/10/28/announcing-sharepoint-easy-setup-for-developers.aspx

Page 4: Visual Studio 2010 SharePoint Developer Tools Overview

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: Visual Studio 2010 SharePoint Developer Tools Overview

Templates & Designers

Page 6: Visual Studio 2010 SharePoint Developer Tools Overview

Import

Export

Professional developer

Business Analyst/Process

DesignerDesign skeleton

workflow processes

View workflow visualizations

Design data-backed business

diagrams

Custom Web Parts

Code Workflows

Event Receivers

List Definitions

Application Pages

WSP Package

Designer/IW/Power UserCreate lists &

libs

Design Web Pages

Web part hook-up

Views & forms

Declarative Workflows

Development Continuum

Page 7: Visual Studio 2010 SharePoint Developer Tools Overview

Development Continuum

Page 8: Visual Studio 2010 SharePoint Developer Tools Overview

Project System

− Project commands− Package, Retract

− Project properties− Sandboxed, Site URL, etc…

− Features & Package nodes

− Mapped folders− Items/Files have

SharePoint specific properties

Page 9: Visual Studio 2010 SharePoint Developer Tools Overview

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: Visual Studio 2010 SharePoint Developer Tools Overview

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: Visual Studio 2010 SharePoint Developer Tools Overview

Project System & Packaging

Page 12: Visual Studio 2010 SharePoint Developer Tools Overview

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: Visual Studio 2010 SharePoint Developer Tools Overview

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: Visual Studio 2010 SharePoint Developer Tools Overview

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

− Community Kit for SharePoint: Dev Tools Edition− Project, item, deployment, and server explorer

extensions− http://cksdev.codeplex.com/

Page 15: Visual Studio 2010 SharePoint Developer Tools Overview

Visual Studio 2010 Service Pack 1 Beta

− Available Now!− http://go.microsoft.com/fwlink/?

LinkId=207130− IntelliTrace

− Break execution then replay code showing Call Stack & other data

− Save iTrace log file for later viewing− Unit Tests

− Create & Execute unit tests in Visual Studio

Page 16: Visual Studio 2010 SharePoint Developer Tools Overview

IntelliTrace & Unit Tests

Page 18: Visual Studio 2010 SharePoint Developer Tools Overview

© 2009 Microsoft Corporation. All rights reserved. Microsoft, Visual Studio, the Visual Studio logo, and [list other trademarks referenced] are trademarks of the Microsoft group of companies.

 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.