You are previewing Inside Microsoft® Windows® SharePoint® Services 3.0.
O'Reilly logo
Inside Microsoft® Windows® SharePoint® Services 3.0

Book Description

Delivers concise information on Web Parts, pages, workflow, security, and other key topics

Provides deep architectural insights, practical advice, and solutions for Windows developers

Features extensive code samples in Visual C# and XML; assumes prior knowledge of Microsoft .NET Framework 2.0

Table of Contents

  1. Inside Microsoft Windows SharePoint Services 3.0
    1. Acknowledgments
      1. Ted's Acknowledgments
      2. Dan's Acknowledgments
    2. Foreword
    3. Introduction
      1. Who This Book Is For
      2. System Requirements
      3. Code Samples
      4. Support for This Book
        1. Questions and Comments
    4. 1. Getting Started
      1. Site Provisioning
        1. Sites and Site Collections
        2. Provisioning a Site Collection
      2. Site Customization
        1. The Site Settings Page
        2. The Create Page
        3. Creating Lists and Document Libraries
          1. Customizing Lists with the List Settings Command
        4. Site Customization and Personalization Using Web Parts
      3. WSS as a Development Platform
        1. Customization Versus Development
        2. Development Opportunities
        3. Introduction to Features
        4. Programming Against the WSS Object Model
      4. Creating Your First Feature
        1. Adding an Event Handler to a Feature
      5. Summary
    5. 2. SharePoint Architecture
      1. IIS and ASP.NET 2.0 Primer
        1. IIS Web Sites and Virtual Directories
        2. ISAPI Extensions and ISAPI Filters
        3. Application Pools and the IIS Worker Process
      2. ASP.NET 2.0 Framework
        1. ASP.NET Pages
        2. Master Pages
        3. HTTP Request Pipeline
      3. WSS Integration with ASP.NET
        1. Web Applications
          1. Standard web.config File for a Web Application
          2. SPVirtualPathProvider
        2. Virtual Directories Within a Web Application
        3. Site Pages versus Application Pages
      4. Creating Custom Application Pages
        1. The Code-Behind Approach in Application Pages
        2. Navigation Support for Application Pages
        3. Creating an Application Page with the SPGridView Control
        4. Restricting Application Pages to Site Administrators
        5. Adding a Custom Menu Item to the ECB Menu
      5. Summary
    6. 3. Pages and Design
      1. Site Page Fundamentals
        1. Programming with SPFile Objects
          1. SPFolder Objects
        2. Working with Page Templates
        3. Safe Mode Processing
          1. Safe Controls
      2. Designing Site Pages by Using Controls
        1. Constructing Pages with Custom Controls
        2. Constructing Pages with User Controls
        3. Designing Web Part Pages
      3. Master Pages
        1. Understanding default.master
          1. WSS Navigation Components
        2. Delegate Controls
        3. Customizing default.master
        4. Creating a Custom Master Page Template
      4. Branding WSS Sites by Using CSS Files
        1. Understanding core.css
          1. WSS Themes
          2. AlternateCSS Property
          3. Site Icon
        2. Best Practices for Site Branding
      5. Summary
    7. 4. Web Parts
      1. Web Parts
        1. Web Part Fundamentals
        2. Web Control Basics
        3. SharePoint Development Versus ASP.NET Development
        4. Developing Web Parts for WSS 3.0
        5. Creating a Feature for Importing Web Parts
        6. Debugging Web Parts
        7. Customization and Personalization
          1. Creating Custom Editor Parts
          2. Asynchronous Web Part Processing
        8. Web Part Building Blocks
          1. Using User Controls in Web Parts
          2. Using SharePoint's SPGridView Control
        9. Web Part Verbs
        10. Web Part Connections
          1. Using Resources
        11. Working with Web Parts Through the SharePoint Site Model
      2. Summary
    8. 5. AJAX Web Parts
      1. Introduction
      2. Building Rich Internet Applications with ASP.NET AJAX
        1. Object-Oriented JavaScript with ASP.NET AJAX
          1. Namespaces
          2. Functions as Objects
          3. Prototypes as Class Definitions
          4. Class Registration and Inheritance
          5. Global Namespace Functions
        2. Creating a JavaScript Component with ASP.NET AJAX
          1. AJAX Architecture and WSS
          2. Web Service Endpoints for WSS AJAX Components
          3. HTTP Handlers as Data Sources
      3. Building AJAX Web Part Parts for WSS
          1. WebConfig Requirements for ASP.NET AJAX
        1. AJAX Web Parts
        2. Introducing the SharePoint AJAX Toolkit
        3. Introducing the SharePoint.Ajax.XmlComponent
          1. AjaxWebPart in the SharePoint AJAX Toolkit
          2. XmlWebPart in the SharePoint AJAX Toolkit
        4. Building the Litware AJAX Web Part Library
        5. Client-Side Connections for AJAX Web Parts
      4. Summary
    9. 6. Lists and Content Types
      1. Lists and Content Types
        1. Windows SharePoint Services List Data
          1. Working with WSS Lists
          2. Using Queries for List Data
        2. Creating Custom List Elements
          1. Defining Custom List Elements with CAML
          2. Defining Site Column Definitions
        3. Defining Custom Field Types
          1. Defining a Site Column for a Custom Field Type
        4. Defining Items with Content Types
          1. Creating a Content Type Definition in CAML
          2. Content Types in the Object Model
          3. Additional Content Type Metadata
        5. Defining Content with List Schemas
        6. Creating a List Instance
        7. Configuring Lists with RSS Feeds
      2. Event Receivers
          1. Writing Event Handlers
          2. Binding Event Handlers to a Content Type
      3. Summary
    10. 7. Document Libraries
      1. Working with Document Libraries
        1. SPDocumentLibrary Class
          1. Programming Against Documents
        2. Adding a New File to a Document Library
          1. Using a Feature to Provision a New Document Library Instance
          2. Creating a Custom Application Page for Document Management
      2. Forms Libraries and Microsoft Office InfoPath
      3. Office Open XML File Formats
        1. Motivation for the Office Open XML File Format
          1. Word 2007 Document Internals
        2. Generating Your First .docx File
        3. Generating .docx Files on the Server
        4. Saving a .docx File in a Document Library
        5. A Closer Look at Relationships
          1. Package Viewer Sample Application
        6. Data Binding to Word Content Controls
          1. Separating Data from Presentation in Word 2007
          2. Updating the XML Data Store Programmatically
      4. Summary
    11. 8. SharePoint Workflows
      1. Windows Workflow Foundation
        1. Reactive Programs
        2. Windows Framework Foundation Architecture
          1. Activities
        3. Creating WF Programs
          1. Visual Studio Workflow Designer
        4. WF Runtime
      2. SharePoint Workflows
        1. SharePoint Workflow Design Goals
        2. SharePoint Workflow Fundamentals
          1. Initiating Workflow Instances on Items and Documents
        3. Workflow Input Forms
      3. Developing Custom Workflow Templates
        1. Creating the "Hello World" Workflow Template
          1. Working with Activities
          2. Deploying a Workflow Template for Testing
          3. Testing the Hello World Workflow Template
        2. Creating and Waiting On Tasks
      4. Integrating Workflow Input Forms
        1. Walk Through Using the Litware Approval Workflow Input Forms
        2. Custom Association Forms
          1. Implementing a Custom Association Form
        3. Custom Initiation Forms
          1. Implementing a Custom Initiation Form
        4. Custom Modification Forms
        5. Implementing a Custom Modification Form
        6. Custom Task Edit Forms
          1. Implementing a Custom Task Edit Form
          2. Choosing Between .aspx Forms and InfoPath Forms
      5. Summary
    12. 9. Solutions and Deployment
      1. Introduction
      2. Site Definitions
        1. The Global Site Definition
        2. Creating a Custom Site Definition
          1. NavBars
          2. DocumentTemplates
          3. Configurations
          4. Configuration Modules
          5. Modules
        3. Web Template Files
        4. Adding a Site Provisioning Provider
      3. Application Deployment Through Features
        1. Feature Activation Dependencies
        2. Feature Stapling
      4. WSS Globalization and Localization
        1. Localization Through Resources
        2. Resources in SharePoint XML Files
      5. Deployment Using Solution Packages
        1. Solution Package for Deploying a Feature
        2. Solution Package for Deploying Web Parts
          1. STSADM.EXE Commands for Deploying Solution Packages
          2. Solution Packages and Code Access Security
        3. Solution Package for Deploying a Site Definition
        4. Web Configuration Changes
      6. Language Packs
        1. Localizing a Site Definition
      7. Summary
    13. 10. Application Security
      1. Introduction
      2. Trust Levels and Code Access Security
        1. Troubleshooting Code Access Security
      3. Authentication, Authorization, and Identities
        1. Using Forms Authentication
        2. WSS Security Context Versus Windows Security Context
        3. Users and Groups
        4. Application Pool Identities
        5. SharePoint System Account
          1. Escalation of Privilege
        6. Delegating User Credentials
      4. User Impersonation with the User Token
        1. Securing Objects with WSS
        2. Rights and Permission Levels
        3. Handling Authorization Failures with SPUtility
      5. Summary