You are previewing Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint.
O'Reilly logo
Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint

Book Description

Build an engaging SharePoint site with Visual Studio, Silverlight, PowerShell and Windows 7 Phone

  • Get to grips with extending SharePoint with a range of different tools in this comprehensive guide which draws on the value of five separate Packt SharePoint titles!

  • Learn about developing and extending SharePoint through both step by step tutorial and cookbook chapters in this book and e-book.

  • A mash-up book from a range of expert SharePoint professionals, and a total of five Packt titles – professional expertise distilled in a true sense.

  • In Detail

    The SharePoint platform is ideal for developers looking to build exciting solutions, and SharePoint 2010 is more equipped than ever for the task. While plenty of SharePoint titles will help you understand general SharePoint development techniques or spend time focusing on one method or tool, Microsoft SharePoint 2010 Developer’s Compendium: The Best of Packt for Extending SharePoint offers you the option of using four different tools and platforms to achieve exceptional end user experience.

    This book fills the gap for a comprehensive SharePoint title which describes the end goal of a SharePoint developer. So often books focus on development techniques for one tool; this will get you on your way to developing a good business website with a great user experience, however, you choose to get there, be it using PowerShell, Visual Studio, Silverlight, Windows 7 Phone, or a combination of all four.

    “Microsoft SharePoint 2010 Developer’s Compendium: The Best of Packt for Extending SharePoint” draws from five separate titles from Packt’s existing collection of excellent SharePoint titles:

    Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook

    Microsoft Silverlight 4 and SharePoint 2010 Integration

    Microsoft SharePoint 2010 Development with Visual Studio 2010 Expert Cookbook

    Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7

    SharePoint 2010 Business Application Development Blueprints

    “Microsoft SharePoint 2010 Developer’s Compendium: The Best of Packt for Extending SharePoint” is an exciting mash-up of five existing Packt SharePoint titles for extending development techniques.

    It begins with two never before seen Packt chapters from an exciting new title, giving you a quick overview of the options available for extending SharePoint. It then moves on quickly to building a community site and discusses PowerShell scripting, as well as integrating Silverlight animations and helping you get to grips with SharePoint development on Windows Phone.

    With this book in hand you won’t just find techniques for one development tool, you’ll learn how to reach your end goal of developing a site with great user experience using a number of options at your fingertips.

    Chapter listings with corresponding titles:

    Chapter 1: Understanding SharePoint Development Choices

    SharePoint 2010 Business Application Development Blueprints (unpublished)

    Chapter 2: Building an Engaging Community Site

    SharePoint 2010 Business Application Development Blueprints (unpublished)

    Chapter 3: PowerShell scripting methods and creating custom PowerShell commands

    Microsoft SharePoint 2010 and Windows PowerShell 2.0: Expert Cookbook

    Chapter 4: Integrating Silverlight 4 with SharePoint 2010

    Microsoft Silverlight 4 and SharePoint 2010 Integration

    Chapter 5: Interacting with Rich Media and Animations

    Microsoft Silverlight 4 and SharePoint 2010 Integration

    Chapter 6: List Definitions and Content Types

    Microsoft SharePoint 2010 Development with Visual Studio 2010 Expert Cookbook

    Chapter 7: Workflows

    Microsoft SharePoint 2010 Development with Visual Studio 2010 Expert Cookbook

    Chapter 8: Introduction to Programming Windows Phone 7 with the SharePoint Client Services

    Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7

    Chapter 9: Building SharePoint Pages for Windows Phone 7

    Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7

    Chapter 10: Building a Windows Phone 7 Dashboard

    Microsoft SharePoint 2010 Enterprise Applications on Windows Phone 7

    Table of Contents

    1. Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint
      1. Table of Contents
      2. Microsoft SharePoint 2010 Developer's Compendium: The Best of Packt for Extending SharePoint
      3. Credits
      4. About the Contributors
      5. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      6. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the example code
          2. Errata
          3. Piracy
          4. Questions
      7. 1. Understanding SharePoint Development Choices
        1. Server-side development
          1. Farm solutions
          2. Sandboxed solutions
        2. Connecting to SharePoint through web services
        3. Client-side development
          1. Client Object Model
          2. Using jQuery
          3. Deploying and managing client-side customizations
        4. SharePoint development tools
          1. Visual Studio
          2. SharePoint Designer
          3. InfoPath Designer
        5. Choosing a development path
          1. Environment considerations
            1. Cloud Environments
            2. Governance, change management policies, and server access
          2. Solution reuse
          3. Scalability of solutions
          4. Application lifecycle management
        6. Summary
      8. 2. Building an Engaging Community Site
        1. Creating the community site
          1. Activating supporting features
            1. Site collection features
            2. Site features
          2. Create and configure the Community Landing Page
        2. Site permissions
        3. Community members
          1. Create Communities User Profile Property
            1. Communities Property Attributes
          2. Map Communities as a Managed Property
          3. Configure the Member page
            1. Create the Member page
            2. Add the People Search Core Results Web Part
            3. Configure members search query
        4. Configuring social Web Parts
          1. Note Board
          2. Tagging and Tag Clouds
        5. Configuring Rollup Web Parts
          1. Web Analytics Web Part - frequently accessed content
          2. Content Query Web Part - new content
          3. Content Query Web Part - highly rated content
        6. Creating an Enterprise Wiki
          1. Configure Enterprise Wiki sub-site
          2. Use of categories
          3. Metadata Navigation
            1. Activating the feature
            2. Configuring Metadata Navigation for Enterprise Wiki library
            3. Using the feature
          4. Site Navigation
        7. Summary
                1. Browser based configuration
      9. 3. PowerShell Scripting Methods and Creating Custom Commands
        1. Introduction
        2. Setting up your Virtual Machine and running a test script
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Authoring, debugging, and executing script accessing farm settings with PowerGUI and PowerShell ISE
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more
            1. Script authoring with PowerGUI
        4. Accessing advanced SharePoint 2010 functionality with external libraries
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more
            1. Accessing other SharePoint libraries and related functions
        5. Creating a custom PowerShell command (CmdLet)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        6. Creating a custom PowerShell Snap-In
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more
            1. Uninstalling a Snap-In from your system
            2. Visual Studio CmdLet and Snap-In item templates
      10. 4. Integrating Silverlight 4 with SharePoint 2010
        1. Understanding the benefits of integrating Silverlight with SharePoint
          1. Creating a SharePoint solution
        2. Preparing the development environment
          1. Setting up the development environment
          2. Discovering the rich controls offered by the Silverlight Toolkit
          3. Browsing themes with sample controls
        3. Preparing the server
          1. Browsing SharePoint Site collections
        4. Creating a Silverlight LOB (Line-of-Business) RIA
          1. Creating rich User eXperiences (UX)
          2. Building a Silverlight 4 RIA
        5. Adding a Silverlight Web Part
          1. Adding a Silverlight RIA as a shared document
          2. Adding a Silverlight Web Part to display a Silverlight RIA
          3. Working with many Silverlight Web Parts in a single page
          4. Understanding client and server code
        6. Summary
      11. 5. Interacting with Rich Media and Animations
        1. Bringing life to business applications and complex workflows
          1. Creating asset libraries in SharePoint 2010
            1. Adding content to an assets library
            2. Browsing the structure for SharePoint Asset Libraries
          2. Controlling the rich media library by using controls in a Visual Web Part
          3. Creating a Silverlight RIA rendered in a SharePoint Visual Web Part
            1. Linking a SharePoint Visual Web Part to a Silverlight RIA
          4. Adding a SharePoint Visual Web Part in a Web Page
            1. Organizing controls in a containing box
            2. Reading files from an assets library
          5. Working with interactive animations and effects
          6. Adding and controlling videos
            1. Video formats supported in Silverlight 4
            2. Adding and controlling sounds and music
            3. Audio formats supported in Silverlight 4
          7. Changing themes in Silverlight and SharePoint
        2. Summary
      12. 6. List Definitions and Content Types
        1. Introduction
        2. Creating a site column
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more...
            1. Deleting the site columns on deactivation of the feature
          5. See also
        3. Extending an existing content type
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Deployment of previous solution
            2. Inherits attribute in content type
          5. See also
        4. Creating custom content type using an object model
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Associating a document template with the content type
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Associating a workflow to a content type
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        7. Creating an external content type
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Create, update, and delete methods
              1. Connection strings
            2. See also
        8. Creating a list definition
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
      13. 7. Workflows
        1. Introduction
        2. Creating a sequential workflow
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more...
          5. See also
        3. Creating a site workflow with an initiation form
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Deploying an InfoPath form with the workflow
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Creating a task from the workflow
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Creating a custom task form
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Task delete
      14. 8. Introduction to Programming Windows Phone 7 with the SharePoint Client Services
        1. Security in SharePoint 2010
          1. Central Administration
          2. Site Permissions
        2. Using WebClient to get data from the Web
          1. Creating the base project
          2. Displaying WebClient results by adding a text block
          3. Creating a WebClient
          4. Requesting the contents of our SharePoint home page
          5. Displaying the raw HTML that is returned
        3. RSS feeds available from SharePoint
        4. Parsing XML in Windows Phone 7
          1. Replacing the text block display with a listbox
          2. Creating a simple view model for an RSS Item
          3. Parsing the XML
          4. Creating a list of RSS Items
          5. Binding the list of RSS Items to the listbox
        5. Simple page navigation
          1. Building a details view page
          2. Setting up a new event handler
          3. Building the URI for navigation
          4. Navigating to the details view page
          5. Handling loaded events on the details page
        6. Using the WebBrowser control to display the post
          1. Adding a WebBrowser to the details view
          2. Navigating to the post's URL
        7. Summary
      15. 9. Building SharePoint Pages for Windows Phone 7
        1. The difference between lists and libraries
          1. Searching content with iFilters
        2. Adding columns to a list
        3. Customizing the list item output
          1. Creating a project for our custom template
          2. Adding a mapped folder for the custom control template
          3. Creating the custom template
          4. Customizing the template
        4. Replacing the mobile home page
        5. Summary
      16. 10. Building a Windows Phone 7 Dashboard Application with SharePoint Data
        1. Forms-based authentication
          1. Connecting with forms based authentication
          2. Accessing the RSS feeds securely
          3. Removing anonymous access
        2. Managed Client Object Model on the desktop
          1. ECMAScript interface
          2. Silverlight interface
        3. WCF Data Services to the rescue
          1. REST
          2. WCF Data Services and OData
          3. ASP.NET Web Services
        4. Creating a dashboard application
          1. Creating the calendar
          2. Reading the calendar data
            1. Authentication
            2. Calendar data service
          3. Displaying the calendar data
          4. Organizing the calendar data
          5. Creating the task status site
          6. Reading the task status site data
          7. Displaying the task status overview chart
        5. Summary
      17. Index