Upload
osullish
View
2.016
Download
2
Embed Size (px)
DESCRIPTION
My slides from the Visual Studio Launch events in Cork and Galway
Citation preview
SharePoint 2010 Development using Visual Studio 2010
21-04-2010
Shane O’SullivanStorm Technology
2
About Storm Technology
Microsoft Gold Partner
Custom Development (.Net)
Information Worker (IW) Consultancy
(SharePoint, Biztalk, .Net)
Application Lifecycle Management (ALM)
Consultancy (Team Foundation Server)
www.storm.ie
3
Previous SharePoint Development Scenarios
Visual Studio development experience
very limited
Visual Studio Extensions for WSS (VSeWSS)
Visual Studio Tools for Office
Developers reliant on Community tools
WSP Builder
Solution Generator
And on occasion, .NET Reflector - for all those
undocumented features of the SharePoint API!
4
Visual Studio 2010 SharePoint Tools
Provides a platform for end to end
SharePoint development
SharePoint explorer
SharePoint 2010 Project templates and item templates
Visual Designer for core scenarios including Feature
and Package management
Vastly improved debugging experience
Extensible platform by 3rd party developers
5
Visual Studio 2010 SharePoint Tools
Benefits to the developer
Developers can easily package/deploy/manage
solutions from within Visual Studio
Visual Studio abstracts away details of the 14
hive for deployment
Reduces dependency on third party tools for
SharePoint Development
SharePoint explorer
Add-in for Server
explorer window
Allows user to explorer
SharePoint site items
Quick way to launch
site into browser
Extensible – Developers
can write add-ins
6
DemoSharePoint Explorer
Storm Technology
SharePoint 2010 Projects
Visual Studio 2010 SharePoint Tools
Storm Technology
9
SharePoint 2010 Project Templates
All Projects built using a standard
structure
10
SharePoint 2010 Project Structure
Project Structure
Properties
References
Features (Added by SP 2010 Tools)
Package (Added by SP 2010 Tools)
Individual Items
Mapped Folders
Easily Add Layouts\Images mapped
folder
Ability to map to other folders in the
14 hive
11
Feature Designer
Provides Graphical and
XML mode for managing
features in a solution
Allows customization of
feature properties
Allows addition of a
feature event receiver
Allows addition/removal
of SPIs
Customize activation
dependencies
12
SharePoint Tools Deployment Options
Two deployment
configurations by
default
Default
No Activation
13
Debugging
Debugging experience much better
Hitting F5 performs the following
▪ Builds a new version of the WSP
▪ Deactivate/uninstall existing versions of the feature
▪ Retracts/Deletes WSP
▪ Deploys the new WSP
▪ Activates the feature (based on the site URL property)
▪ Attaches debugger to w3wp.exe worker process (based
on the site URL property)
14
SharePoint Project Item Templates
15
Demo – Meeting Room Manager
“I need someone well-versed in the art of torture – do you know PowerPoint?”
16
SharePoint 2010 Developer Dashboard
Shows diagnostics and performance
related statistics on a SharePoint page
How long did the request take to run
What events were fired
In what sequence did these event handlers fire?
17
SharePoint Developer Dashboard
18
Summary
Introduction to Visual Studio 2o1o SharePoint
tools
SharePoint tools project structure
Adding SPIs to a project
Packaging/Feature management
Debugging
Sandboxed Solutions
Developer Dashboard
Q & AVisual Studio 2010 SharePoint tools
Storm Technology
20
Contact Details
Shane O’Sullivan
Solutions Architect
Storm Technology Ltd.
[email protected] (remove
the NOSPAM)
Twitter - #shaneosullivan