Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager...

21
Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager [email protected]

Transcript of Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager...

Page 1: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.

Introduction to SharePoint Development with VS2010

Paul YuknewiczLead Program [email protected]

Page 2: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.

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.

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.

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.

Templates & Designers

Demo

Page 6: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.

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.

Development Continuum

Demo

Page 8: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.

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.

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.

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.

Project System & Packaging

Demo

Page 12: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.

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.

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.

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.

Extensibility

Demo

Page 16: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.

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.

Discussing in the next hour

Demo

Page 18: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.

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.

Questions

Page 21: Introduction to SharePoint Development with VS2010 Paul Yuknewicz Lead Program Manager paulyuk@microsoft.com.