Getting started with SharePoint 2010 developmentYaroslav PentsarskyyTwitter: @spentsarsky
About me
Involved in SharePoint since 2003SharePoint MVP (2009-Present)Twitter: @spentsarskyBlog: sharemuch.com
Agenda
• When do you use SharePoint?
• SharePoint development basics
• Bringing .NET code into SharePoint
• Customizing SharePoint look
What is SharePoint?
So … what’s the deal with…?
Feature
Solution PackageEvent Receiver
Site Definition
Feature Receiver
Central Administration
Declarative Workflow
List DefinitionContent Database
Content Type
Persisted Object
Site ColumnSite CollectionApplication PageSafe Control
ONETPublishing Page
STSADM
Platform vs. ad-hoc
SharePointNo PlatformData StoragePresentation
SecurityScalability
API’sOffice Integration
Features
Data StoragePresentation
SecurityScalability
API’sOffice Integration
Features
Custom
Custom
Out of the Bo
x
The details … SharePoint Server Farm
Web Front Ends
Application
Database
• A collection of SharePoint role servers and database servers
• Servers can perform one or more functions
• Farm-level features are managed via Central Administration
• Solution Packages allow custom code to be deployed across the farm
The details … SharePoint Web App
Portal
Central Administration
HRFinanceMarketing
Etc …
• Web application = IIS Virtual Server
• Each web application may be assigned its own app pool
• Web applications may utilize multiple service applications
• Site collections reside within web applications
Customizing SP2010 Solution packages
Web Parts
Assemblies
MappedFolders
WSP
• Solution Packages deploy sets of functionality to SharePoint
• May contain one or more Features, assemblies, pages, controls etc
• The framework handles installation and configuration
What are Features and why with a capital “F”?
Farm
Web Application
Content DBSite
collectionTop-level site
List/Library
[Folder]
Item / Document
Sub site Sub siteFeatures
Features
Features
Features
WSP
Fea
tur
esFea
tur
esFea
tur
es
Demo
Bringing .NET code into SharePoint
• Building a web part• Building a list and event
receiver
Demo
Customizing SharePoint look
• Modifying a masterpage• Defining your own CSS
Demo
BONUS – Connecting to external data
• Presenting external data within SharePoint
Easy way to get started
• Download: 2010 IW Demo VM
• Get SP2010 development machine in the cloud (ex cloudshare.com)
Q&A
Blog: sharemuch.comTwitter: @spentsarskyBooks: amazon.com