Microsoft SharePoint 2010 Web Applications The Complete Reference

Book description

Build Data-Driven Web Applications with SharePoint 2010

Leverage the revolutionary development capabilities in SharePoint 2010 to build web-based business applications. Microsoft SharePoint 2010 Web Applications: The Complete Reference gets you up and running on the platform and explains how to integrate application services such as content management, business intelligence, offline synchronization, and workflow into your applications.

After reviewing the fundamentals of SharePoint 2010, this comprehensive resource covers the presentation, application services, and data access layers, and discusses the key tools and techniques that are most appropriate for delivering functionality within each layer. Packaging, deployment, and configuration are also covered in this hands-on guide. Real-world examples illustrate specific features, and the code samples contained throughout the book can be used in your own applications.

Table of contents

  1. Cover Page
  2. Microsoft® SharePoint® 2010 Web Applications
  3. Copyright Page
  4. Dedication Page
  5. About the Author
  6. Contents
  7. Acknowledgments
  8. Introduction
  9. Part I Introduction to SharePoint 2010 Development
    1. Chapter 1 The Microsoft SharePoint 2010 Platform
      1. SharePoint Architecture
      2. User Features
        1. Office Integration
        2. Office Web Applications
        3. SharePoint Workspace
        4. Standards Compliant Web Interface
      3. Summary
    2. Chapter 2 Developing with SharePoint 2010
      1. Visual Studio 2010 and SharePoint Designer 2010
      2. TypeMock Isolator
      3. Red Gate .NET Reflector
      4. U2U CAML Query Builder
      5. Sysinternals DebugView
      6. Development Server Configuration
        1. Additional Development Environment Configuration
        2. Debugging and Unit Testing SharePoint Applications
      7. SharePoint Fundamentals
        1. Creating a Web Application
        2. Creating a Site Collection
        3. Creating a Site
      8. Server Object Model
        1. Administration and Configuration Classes
        2. Site Provisioning and Content Access Classes
        3. Saving Changes Using the Server Object Model
        4. Best Practice Guidelines
        5. Error Handling
      9. Developer Toolbar
      10. Sandboxed Solutions
        1. Debugging Sandboxed Solutions
        2. Managing Sandboxed Solutions
      11. Summary
  10. Part II Presentation Layer
    1. Chapter 3 Presentation Layer Overview
      1. Page Types
        1. Application Pages
        2. Site Pages
      2. Ghosting/Unghosting
      3. Executing Server-Side Code
      4. Mobile Pages
      5. Ribbon
        1. Ribbon Architecture
        2. Extending the Ribbon
        3. Handling Events from the Ribbon
        4. Disabling Controls
        5. Complex Event Handling
      6. Summary
    2. Chapter 4 Client Object Model
      1. Architecture
      2. Demonstration Environment Setup
        1. Host Silverlight in SharePoint
        2. Using the Silverlight Web Part
        3. Referencing the JavaScript Client Object Model
      3. Available Client-side Objects
        1. ClientContext
        2. Operation Batching
      4. Retrieving Data
        1. In-place Load
        2. Queryable Load
      5. Adding Data
      6. Updating Data
      7. Deleting Data
      8. Using the Status Bar, Notifications, and the Dialog Framework
        1. The Status Bar
        2. Notifications
        3. Dialogs
      9. Summary
    3. Chapter 5 InfoPath Forms Services
      1. InfoPath Overview
      2. InfoPath Forms Services
        1. BrowserForm Web Part
        2. Using InfoPath Forms in SharePoint
      3. Accessing Data in InfoPath Forms
        1. Data Connection Libraries
        2. Modifying UDC Files
      4. Responding to Events in InfoPath Forms
        1. Using the Rules Engine
        2. Adding Code-Behind
      5. Summary
    4. Chapter 6 Enterprise Content Management
      1. Managed Metadata
        1. Configuring the Managed Metadata Service
        2. Managed Metadata Field
        3. Metadata Navigation
        4. Content Organizer
        5. Large Libraries
      2. Document Management
        1. Content Management Users
        2. Multi-user Editing
        3. Item-Level Permissions
        4. Workflows
        5. Document Sets
        6. Document IDs
        7. Document Metadata
        8. Records Management
      3. Digital Asset Management
        1. Media Content Types
        2. Rich Media Content
        3. Disk-based Caching
        4. Remote BLOB Storage
      4. Web Content Management
        1. Page Model
        2. Publishing
        3. Content Deployment
        4. Web Parts and Fields
        5. Content Query Web Part
      5. Summary
    5. Chapter 7 User Interface Customization
      1. Working with Pages
        1. Master Pages
        2. Creating a Custom Master Page
        3. Delegate Controls
        4. Cascading Style Sheets
        5. Themes
      2. Adding Custom Functionality
        1. Web Parts
        2. Improving the Property Editing Experience: Editor Parts
        3. Visual Web Parts
      3. Summary
  11. Part III Application Services
    1. Chapter 8 Application Services Overview
      1. Handling Events
        1. Event Hosts
        2. Event Receivers
        3. Receiver Base Classes
        4. Synchronous and Asynchronous Events
        5. Security Context
        6. Event Properties
        7. Packaging and Deployment Events
      2. Creating Event Receivers
        1. Enabling or Disabling Event Firing
        2. Binding Events
        3. E-mail Events
      3. Summary
    2. Chapter 9 Service Application Framework
      1. Implementation
        1. Server-side Implementation
        2. Client-side Implementation
        3. Client/Server Communication
      2. Configuring Service Applications
        1. Connecting to Remote Applications
        2. Topology Service
      3. Demonstration Scenario
        1. Prerequisite: Generating a New AppId
        2. Creating a New SharePoint Project
        3. Adding Server-side Configuration Classes
        4. Adding Client-side Configuration Classes
        5. Adding Windows Communication Foundation Components
        6. Implementing Translation Functionality
        7. Installing Service Application Components
        8. Provisioning Service Application Instances
        9. Using Service Application in Front-end Components
        10. Managing Service Applications
      4. Summary
    3. Chapter 10 Word Automation Services
      1. Word Automation Services
        1. Creating Conversion Jobs
        2. Checking Status of Conversion Jobs
      2. OpenXML
        1. Getting Started with OpenXML
      3. Demonstration Scenario
        1. Architecture
        2. Creating a Custom Content Type
        3. Customizing the DocumentSetProperties Web Part
        4. Creating a Custom Job Definition
        5. Combine Documents Using OpenXML
        6. Converting an OpenXML Document to an Alternative Format
        7. Customizing Document Set Welcome Page
        8. Create a Document Library
        9. Create a Document Template
      4. Summary
    4. Chapter 11 Workflow
      1. Workflow Foundation Fundamentals
        1. Types of Workflow
        2. Making Workflows Work
        3. Custom Workflow Activities
        4. External Activities via Pluggable Workflow Services
        5. Creating Workflows
      2. Demonstration Scenario
        1. Prerequisites
      3. Designing a Workflow Using Visio 2010
        1. Using the Microsoft SharePoint Workflow Template
        2. Implementing a Visio Workflow Using SharePoint Designer
        3. Using Visio Services to Visualize Workflow State
      4. Creating a Pluggable Workflow Service
        1. Creating a Sample WCF Calculation Service
        2. Creating a Pluggable Workflow Service
        3. Calling a SharePoint-Hosted WCF Service
      5. Creating a Workflow Using Visual Studio 2010
        1. Using the Visual Studio Workflow Designer
      6. Creating a Workflow Using SharePoint Designer
      7. Summary
    5. Chapter 12 Excel Services
      1. Excel Capabilities on SharePoint 2010
        1. Excel Application Services
        2. Excel Client Service
        3. Excel Web App
        4. PowerPivot
      2. Configuring Excel Services
        1. Service Application Settings
      3. Demonstration Scenario
        1. Set Up Adventure Works Sample Database
        2. Create a Sample Site
        3. Create a Workbook for Use with Excel Services
        4. Configure a Data Connection
        5. Configure a PivotTable to Act like an External Data List
        6. Using Named Ranges in Excel Services
        7. Perform Calculations Using PivotTable Values
        8. Add a PivotChart
        9. Publish to Excel Services
        10. Create a User Interface Using the Excel Web Access Web Part
        11. Adding Interactivity Using a Slicer
      4. Using the Excel Services REST API
        1. Excel Services REST API Syntax
        2. Retrieving a PivotTable Using REST
        3. Using REST-Generated Content Within a Web Part Page
      5. User-Defined Functions
        1. Attributes Used when Creating UDFs
        2. Usable Data Types Within UDFs
        3. Creating a UDF Using Visual Studio 2010
        4. Configuring UDFs for Development
        5. Using UDFs Within Excel
        6. Debugging UDFs
        7. Configuring UDFs for Production
      6. Using the JavaScript Object Model
        1. A Whirlwind Tour of Excel JSOM
        2. Adding a Content Editor Web Part Containing JavaScript
        3. Creating JSOM Content in an External File
      7. Using Data Connection Libraries
        1. Restricting Data Connection Types
        2. Adding Connections to Data Connection Libraries
        3. Connecting to Data Using Alternative Credentials
        4. Configuring the Secure Store Service
      8. Summary
  12. Part IV Data Access Layer
    1. Chapter 13 Data Access Overview
      1. Content Types
        1. Content Type Inheritance
        2. Content Type Metadata
        3. Enterprise Content Types
      2. Columns
        1. Field Types
        2. Validation
      3. Lists and Document Libraries
        1. Views
        2. Queries
      4. Performance
        1. List Throttling
        2. Column Indexes
      5. Summary
    2. Chapter 14 LINQ to SharePoint and SPMetal
      1. Overview of LINQ
        1. Locating Data Using an Iterator
        2. Locating Data Using an Anonymous Delegate
        3. Locating Data Using a Lambda Expression
        4. Locating Data Using LINQ
      2. LINQ to SharePoint
        1. Microsoft.SharePoint.Linq.DataContext
      3. Demonstration Scenario
        1. Create a Data Structure Using SharePoint 2010
        2. Creating Entities Using SPMetal
      4. Adding Data Using LINQ
        1. Add Data Generation Buttons to LinqSampleApplication
      5. Deleting Data Using LINQ
        1. Deleting Sample Data
        2. Ensuring Referential Integrity
      6. Querying Data Using LINQ to SharePoint
        1. Query Limitations
        2. Performing a Simple Query
        3. Result Shaping Using LINQ
        4. Joining Tables Using LINQ
      7. Combining LINQ to SharePoint and LINQ to Objects
        1. Performing an In-Memory Subquery
      8. Updating Information Using LINQ to SharePoint
        1. Disconnecting Entities
        2. Reconnecting Entities
        3. Handling Concurrency Errors when Updating Data
        4. Resolving Change Conflicts
      9. Summary
    3. Chapter 15 Business Connectivity Services
      1. Business Data Catalog in MOSS 2007
        1. Components of BCS
      2. Demonstration Scenario
        1. Prerequisites
      3. Connecting to BCS Data Using SharePoint Designer
        1. Associations
        2. Stereotypes
        3. Create an External Content Type
        4. External Data Picker Control
      4. Building a .NET Connectivity Assembly
        1. Pluggable Connector Framework
        2. Business Data Connectivity Model Project
      5. Using BCS Data in External Data Columns
        1. Profile Pages
        2. Default Actions on External Content Types
      6. Summary
    4. Chapter 16 Enterprise Search
      1. Components of Enterprise Search
        1. Architecture
        2. Indexing Components
        3. Query Components
        4. Front-End Components
      2. Summary
    5. Chapter 17 User Profiles and Social Data
      1. Folksonomies, Taxonomies, Tagging, and Rating
      2. User Profile Service Application
        1. Synchronization
        2. User Properties
        3. Subtypes
        4. Audiences
        5. Organizations
      3. My Sites
        1. My Profile
        2. My Network
        3. My Content
      4. Summary
    6. Chapter 18 Business Intelligence
      1. Microsoft Business Intelligence Solution
        1. Business User Experience
        2. Business Productivity Infrastructure
        3. Data Infrastructure
      2. SharePoint Server 2010 Business Intelligence Platform
        1. Excel Services
        2. Business Intelligence Web Parts
        3. PerformancePoint Services
        4. PowerPivot
        5. Reporting Services
      3. Summary
  13. Part V Configuration
    1. Chapter 19 Packaging and Deployment Model
      1. Working with Packages
        1. Package Structure
        2. Package Designer
        3. Deploying Assemblies
      2. Features
        1. Feature Designer
        2. Activation Dependencies
        3. Feature Scope
        4. Feature Activation Rules
        5. Feature Properties
        6. Feature Elements
        7. Feature Receivers
        8. Upgrading Features
      3. Site Definitions
        1. Creating Site Definitions Using Visual Studio
      4. Summary
    2. Chapter 20 PowerShell
      1. PowerShell Primer
        1. Using Objects
        2. Using Functions
      2. PowerShell for SharePoint
        1. Connecting to SharePoint Remotely
        2. PowerShell Permissions
        3. Working with Site Collections and Sites
        4. Working with Lists and Libraries
        5. Working with Content
        6. Working with Timer Jobs
      3. Summary
  14. Index

Product information

  • Title: Microsoft SharePoint 2010 Web Applications The Complete Reference
  • Author(s): Charlie Holland
  • Release date: September 2010
  • Publisher(s): McGraw-Hill
  • ISBN: 9780071744577