Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Microsoft® SharePoint® 2010 Developer Reference
Introduction
Who Should Read This Book
Who Should Not Read This Book
Assumptions
Organization of This Book
Finding Your Best Starting Point in This Book
Conventions and Features in This Book
System Requirements
Code Samples
Installing the Code Samples
Using the Code Samples
Errata & Book Support
We Want to Hear from You
Stay in Touch
Acknowledgments
I. Getting Started
1. Introducing Microsoft SharePoint 2010
What Is SharePoint?
Main Capabilities
Sites
Communities
Content
Search
Insights
Composites
SharePoint Basic Concepts
SharePoint Central Administration
Site Collections and Websites
Lists, Libraries, Items, and Documents
Web Parts and Web Part Pages
Architectural Overview
Logical and Physical Architecture
Service Applications
The Role of Databases
SharePoint Editions
SharePoint Foundation
SharePoint Server Standard
SharePoint Server Enterprise
SharePoint for Internet Sites
SharePoint Online
SharePoint for Developers
ASP.NET Integration
Server-Side Technologies
Client-Side Technologies
Web Parts and UI
Data Provisioning
Event Receivers and Workflows
Features, Solutions Deployment, and Sandboxing
Security Infrastructure
Business Connectivity Services
Windows PowerShell Support
Developer Tools
Microsoft SharePoint Designer 2010
Microsoft Visual Studio 2010
SharePoint Server Explorer
Solution Explorer and Feature Designer
Summary
2. Data Foundation
Lists of Items and Contents
Creating a New List
Creating a New List
Standard List Templates
Custom List Templates
Views
Creating a Document Library
Site Columns
Content Types
Websites
Summary
II. Programming Microsoft SharePoint 2010
3. Server Object Model
Startup Environment
Objects Hierarchy
SPFarm, SPServer, SPService, and SPWebApplication
SPSite and SPWeb
SPList and SPListItem
SPDocumentLibrary and SPFile
SPGroup, SPUser, and Other Security Types
SPControl and SPContext
Common and Best Practices
Disposing Resources
Handling Exceptions
Transactions
AllowUnsafeUpdates and FormDigest
Real-Life Examples
Creating a New Site Collection
Creating a New Website
Lists and Items
Creating a New List
Creating a New List Item
Modifying an Existing List Item
Concurrency Conflicts
Deleting an Existing List Item
Querying for List Items
Document Libraries and Files
Creating a New Document Library
Uploading a New Document
Downloading a Document
Document Check-In and Check-Out
Copying and Moving Files
Managing Versions of Documents
Groups and Users
Creating a New User
Managing Groups Membership
Managing Users and Groups Permissions
Summary
4. LINQ to SharePoint
LINQ Overview
The Goal of LINQ
LINQ Under the Covers
Introducing LINQ to SharePoint
Modeling with SPMetal.EXE
Querying Data
Managing Data
Inserting a New Item
Deleting or Recycling an Existing Item
Advanced Topics
Handling Concurrency Conflicts
Identity Management and Refresh
Disconnected Entities
Model Extensions and Versioning
Summary
5. Client-Side Technologies
Architectural Overview
SharePoint Client Object Model
Managed Client Object Model
Silverlight Client Object Model
ECMAScript Client Object Model
Client Object Model by Examples
Lists and Items
Creating a New List
Creating and Updating a List Item
Concurrency Conflicts and Exception Handling
Deleting an Existing List Item
Paging Queries of List Items
Document Libraries and Files
Creating a New Document Library
Uploading a New Document
Downloading a Document
Check-In and Check-Out of Documents
Copying and Moving Files
SOAP Services
The REST API
Querying for Data with .NET and LINQ
Managing Data
Summary
III. Developing Web Parts
6. Web Part Basics
Web Part Architecture
A “Hello World” Web Part
Web Part Deployment
Real Web Parts
Classic Web Parts
Visual Web Parts
Configurable Web Parts
Configurable Parameters
Editor Parts
Handling Display Modes
Custom Web Part Verbs
The SharePoint-Specific WebPart class
Summary
7. Advanced Web Parts
Connectable Web Parts
Supporting AJAX
Connectable Web Parts with AJAX
Silverlight and External Applications
Asynchronous Programming
XSLT Rendering
Deployment, Security, and Versioning
Deployment and Versioning
SafeControls and Cross-Site-Scripting SafeGuard
Summary
IV. Extending Microsoft SharePoint 2010
8. SharePoint Features and Solutions
Features and Solutions
Feature Element Types
Features and Solutions Deployment
Packaging with Visual Studio 2010
Upgrading Solutions and Features
Feature Receivers
Handling FeatureUpgrading Events
Summary
9. Extending the User Interface
Custom Actions
The CustomAction Element
The CustomActionGroup Element
The HideCustomAction Element
Server-Side Custom Actions
Ribbons
Ribbon Command
Delegate Controls
Custom Contents
Images and Generic Content
Application Pages
Content Pages, Web Part Pages, and Galleries
Status Bar and Notification Area
Dialog Framework
Summary
10. Data Provisioning
Site Columns
Content Types
Content Type IDs
More about Content Types
Document Content Types
List Definitions
List Schema File
The List Element
The MetaData Element
Defining a Custom View
The ListTemplate Definition File
Summary
11. Developing Custom Fields
Fields Type Basics
The SPField Class
Developing Custom Field Types
A Basic E-Mail Field Type
A Multicolumn Field Type
Field Rendering Control
Field Rendering Templates
Field Rendering Using CAML
Field Rendering Using XSLT
Supporting Mobile Devices
Field Rendering Mobile Templates
Custom Field Editor
Custom Properties Persistence
Summary
12. Event Receivers
Types of Receivers
Item-Level Event Receivers
List-Level Event Receivers
Web-Level Event Receivers
Workflow Event Receivers
E-Mail Event Receivers
Avoiding Event Loops
Event Deployment and Binding
Event Synchronization
Event Security
Summary
13. Document Management
Document Sets
Provisioning Document Sets
Handling Document Sets by Code
Document ID
Custom Document ID Provider
File Conversion Services
Word Automation Services
Summary
14. Site Templates
Native Site Definitions
Site Definitions
Site Definitions with Visual Studio
Custom Web Templates
Site Definitions versus Web Templates
Summary
15. Developing Service Applications
Service Application Architecture
Service Application Framework
Creating a Service Application
Custom Protocol Service Application
Solution Outline
Service Application
Service Application Database
Service
Service Instance
Administrative Pages
Service Application Deployment
Service Application Proxy
Service Application Consumer
Service Application Proxy Deployment
Final Thoughts
Summary
V. Developing Workflows
16. SharePoint Workflows Architecture
Workflow Foundation Overview
Workflow Foundation Architecture
Workflow Types
Workflows Definition
Custom Activities
Workflow Execution Model
Workflows in SharePoint
Workflow Targets and Association
SharePoint 2010 Custom Activities
Summary
17. Workflows with SharePoint Designer 2010
SharePoint Designer 2010 Workflows
Workflow Designer
Conditions and Actions
Structure of a Published Workflow
Designing a Workflow
Workflow Outline Definition
Workflow Settings
Workflow User Experience
Visio 2010 Integration
Summary
18. Workflows with Visual Studio 2010
Workflow Modeling
Creating the Workflow Project
Workflow Outline
Workflow Deployment
Workflow Association
Workflow Versioning
Correlation Tokens
Site Workflows
Summary
19. Workflow Forms
Management Forms
Association Form
Initiation Form
Modification Form
Task Forms
Workflow Tasks
Forms Deployment
Summary
20. Advanced Workflows
Custom Actions and Conditions
Dependency Properties
Custom Actions for SharePoint Designer 2010
Custom Conditions for SharePoint Designer 2010
Workflow Event Receivers
Workflow Services
Implementing the Service
Workflow Service Deployment
Communication Activities
Workflow Management by Code
Workflow Server Object Model
Workflow Web Service
SPTimer Service and Workflows
Summary
VI. Security Infrastructure
21. Authentication and Authorization Infrastructure
Authentication Infrastructure
Classic Mode Authentication
Claims-Based Authentication
Claims-Authentication Types
Windows Authentication
Windows Authentication
Forms-Based Authentication
Configuring FBA with SQL Membership Provider
Configuring the SQL Server Database
Configuring SharePoint web.config Files
Configuring SQL Server Permissions
Configuring SharePoint
Enabling FBA Users or Roles
Authorization Infrastructure
Summary
22. Claims-Based Authentication and Federated Identities
Claims-Based Authentication and WS-Federation
Implementing an STS with Windows Identity Foundation
Building a Security Token Service
Building a Relying Party
SharePoint Trusted Identity Providers
Trusting the IP/STS
Registering the Identity Provider and Mapping Claims
Configuring the Target Web Application
Summary
23. Code Access Security and Sandboxed Solutions
Code Access Security
Partially Trusted ASP.NET Code
SharePoint and CAS
Sandboxed Solutions Overview
Sandboxed Solutions Architecture
Solutions Monitoring
Solutions Validation
Creating a Sandboxed Solution
Implementing a Solution Validator
Full-Trust Proxies
Implementing a Full-Trust Proxy
Registering the Full-Trust Proxy
Consuming the Full-Trust Proxy
Sandboxed Solutions and Office 365
Summary
VII. Enterprise Features
24. Programming the Search Engine
Search Engine Overview for Developers
Customizing and Extending the User Interface
Customizing the Output via XSLT
Developing Custom Web Parts
Federation Framework
Implementing a Custom Federation Provider
Using the Search Engine by Code
Federated Search Object Model
Query Object Model
Query Web Service
Summary
25. Business Connectivity Services
Overview of Business Connectivity Services
Accessing a Database
BDC Model File
Offline Capabilities
Accessing a WCF/SOAP Service
.NET Custom Model
Developing a Custom Model from Scratch
Associating Entities
Programming with BCS Object Model
Summary
Index
About the Author
← Prev
Back
Next →
← Prev
Back
Next →