You are previewing Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook.
O'Reilly logo
Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook

Book Description

Develop, debug, and deploy business solutions for Microsoft SharePoint applications using Microsoft Visual Studio 2010

  • Create applications using the latest client object model and create custom web services for your SharePoint environment with this book and ebook

  • Full of illustrations, diagrams and key points for debugging and deploying your solutions securely to the SharePoint environment.

  • Recipes with step-by-step instructions with detailed explanation on how each recipe works and working code examples.

  • In Detail

    Microsoft SharePoint 2010, is the best-in-class platform for content management and collaboration. With the combined capabilities of Sharepoint and Visual Studio, developers have an end-to-end business solutions development IDE. To leverage this powerful combination of tools it is necessary to understand the different building blocks. This book will provide necessary concepts and present ways to develop complex business solutions and take them further.

    SharePoint 2010 Development Cookbook With Visual Studio 2010 is an instructional guide for developing and debugging applications for SharePoint 2010 environment using Visual Studio 2010. The cookbook approach helps you to dip into any recipe that interests you, you can also read it from cover to cover if you want to get hands on with the complete application development cycle.

    With this book you will learn to develop event handlers, workflows, content types, web parts, client object model applications, and web services for SharePoint 2010 in an instructional manner. You will discover the less known facts behind debugging feature receivers, deployment of web parts, utilizing free toolkits to enhance the development and debugging experience.

    You will learn the newer development approach called Visual Web Parts, how to develop and deploy Silverlight applications that can be used with Silverlight web part. You will also explore SandBoxed deployment model and its usage. You will create your own web services for SharePoint and the Client Object Model introduced in SharePoint 2010. All in all, you will develop Sharepoint solutions in an instructional manner that eases the learning process.

    Table of Contents

    1. Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook
      1. Microsoft SharePoint 2010 Development with Visual Studio 2010: Expert Cookbook
      2. Credits
      3. About the Author
      4. Acknowledgement
      5. About the Reviewers
      6. 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
      7. 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
        7. Downloading the example code for this book
          1. Errata
          2. Piracy
          3. Questions
      8. 1. Lists and Event Receivers
        1. Introduction
          1. Validating data when an item is added to a list
            1. Getting ready
            2. How to do it…
            3. How it works...
            4. There's more...
              1. More information—Event Receivers base class
              2. Debugging Event Receivers
              3. Developer Dashboard
            5. See also
          2. Adding a custom error message to the Event Receiver
            1. Getting ready
            2. How to do it...
            3. How it works...
            4. There's more...
              1. More information—How to get field names
            5. See also
          3. Adding an Application Page to an Event Receiver
            1. Getting ready
            2. How to do it...
            3. How it works...
            4. There's more...
            5. See also
          4. Working with List Event Receiver
            1. Getting ready
            2. How to do it...
            3. How it works...
            4. There's more...
            5. See also
          5. Deploying Event Receivers
            1. Getting ready
            2. How to do it...
            3. How it works...
            4. There's more...
            5. See also
          6. Creating a Feature Receiver
            1. Getting ready
            2. How to do it...
            3. How it works...
            4. See also
          7. Debugging a Feature Receiver
            1. Getting ready
            2. How to do it...
            3. How it works...
            4. There's more...
            5. See also
          8. Debugging Feature Installed Events
            1. Getting ready
            2. How to do it...
              1. How it works...
              2. There's more...
              3. See also
      9. 2. 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
          5. See also
      10. 3. Advanced Workflows
        1. Introduction
        2. Creating a custom activity
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Workflow security
            2. Sandboxed activities
          5. See also
        3. Creating a custom activity for a sandboxed solution
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        4. Creating a state machine workflow
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. Adding a custom workflow status
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Creating a pluggable workflow service
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
      11. 4. 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
          5. Creating a list definition
            1. Getting ready
            2. How to do it...
            3. How it works...
            4. See also
      12. 5. Web Parts
        1. Introduction
        2. Creating a visual web part
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more...
            1. Visual web parts and sandboxed solution
            2. Web Parts Gallery
          5. See also
        3. Creating a code-only web part (sandboxed solution)
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Deployment of web parts
            2. Versioning of web parts
          5. See also
        4. Creating AJAX enabled web parts
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. Adding configuration properties to web parts
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Creating connectable web parts
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        7. Creating a Silverlight web part
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
      13. 6. Web Services and REST
        1. Introduction
        2. Getting data through REST
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Filtering list data
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Fiddling with Fiddler
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Creating a REST consumer
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Inserting new contacts through REST
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        7. Creating a custom SharePoint WCF service
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
            1. Creating a client application to consume the custom WCF service
          5. See also
      14. 7. Working with Client Object Model
        1. Introduction
        2. Creating a list using a Managed OM
          1. Getting ready
          2. How to do it…
          3. How it works...
          4. There's more...
            1. Impersonation
          5. See also
        3. Handling exceptions
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Calling Object Model asynchronously
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. See also
        5. Using JavaScript Object Model
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Using a Silverlight Object Model
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also