SharePoint
Why no lab? Requirements Server 2008 R2 x64 6GB RAM (8 recommended) IIS, SQL, Active Directory, Development can run on Windows 7 or Vista Entire presentation devoted to setting up SharePoint in SharePoint Training Kit 2
Marketing Sites Composites Insights Communities Content Connect and Empower People Cut Costs with a Unified Infrastructure Rapidly Respond to Business Needs Search 3
Organizational Hierarchy Farm Application Site Collection Site List Item Document Library File Folder 4
Lists Like database Rows, columns, fields Can be external (through BCS) Built-in Calendar Announcements Tasks Etc 5
Technology Built On Windows Server 2008 IIS 7 ASP.NET SQL Server 2008 Microsoft SharePoint Foundation Previously Windows SharePoint Services Microsoft SharePoint Server Previously MOSS (Microsoft Office SharePoint Services) 6
Technology Stack 7
Development Stack 8
Development Scenarios WebPart Solution Business Collaboration Solution Multiple lists, web parts, workflows Integrating Line of Business data into SharePoint Custom UI and Business Process Branding, events in UI 9
WebParts Portlet or Widget User customization WebPart Editor Connect to to other parts WebPart Connections 10
SharePoint Server Class Model 11
For each Site 12
Add a Site 13
Server Data Access SPQuery CAML (Collaborative Application Markup Language) LINQ to SharePoint SPMetal to produce entities from list 14
Client Data Access Web Services Client Object Model Enables REST Services Access to Silverlight Windows WPF Non SharePoint ASP.NET sites Enabled by WCF 15
Client Data Access 16
Business Connectivity Services 17
External Content Type 18
Development Tools SharePoint Designer Visual Studio 19
Use SharePoint Designer to define/edit Lists and Libraries Workflows Site Pages Site Assets Content Types Site Columns External Content Types Data Sources Master Pages Site Groups Subsites 20
SharePoint Designer Tasks Customize a site page Manage data sources Database Add JavaScript to custom site page Edit master pages Create Data View Web Parts Create site columns Create lists 21
Visual Studio 2010 Items you may create as a developer Web parts List definition List instance Event receivers Application Pages Workflows 22
Developing Web Parts Types Visual Web Parts ASP.NET Web Parts Inherits from ASP.NET Web Part Deploying Can package and deploy from Visual Studio 23
SharePoint 2010 Project Structure Standard Project Nodes Properties (standard with Visual Studio) References (standard with Visual Studio) Features (always added by SharePoint 14 Developer Tools) Package (always added by SharePoint 14 Developer Tools) SharePoint Project Items (optionally added by dev using SharePoint 2010 Developer Tools) 24
SharePoint Project Items (SPIs) Projects built with SharePoint Items (SPIs) SPI is a logical collection of project files Examples of SPIs are WebParts, List Defs, Workflows, etc Each SPI has folder with SPI files 25
SharePoint Project Item Templates 26
Mapped Folders Mapped Folders used to deploy to RootFiles Layouts folder maps to virtual path /_layouts Images folder maps to virtual path /_layouts You can map other folders inside RootFiles directory Layouts folder key to creating application pages 27
SharePoint Explorer Add-in for Server Explorer window Easy way to examine site artifacts Quick way to launch browser into site SharePoint Explorer extensibility Developers can write add-ins to populate nodes and provide contextual menu commands 28
WSP Windows SharePoint Solution Package Installer specifically for SharePoint Solutions Enables synchronization through server farms Can create in Visual Studio Packaging Designer 29
Features Group of related items Can target different scopes Site Collection, Site, Farm Can be enabled/disabled Defined in Visual Studio Feature Designer 30
Resources Books Beginning SharePoint 2010 Development Steve Fox Microsoft SharePoint 2010: Building Solutions for SharePoint 2010, Sahil Malik Web SharePoint Developer Center http://msdn.microsoft.com/en-us/sharepoint/default 31