Contents

Foreword

Preface

PART I Getting Started

1 Getting Started with SharePoint and Silverlight

Why SharePoint?

Why Silverlight?

Why SharePoint and Silverlight Together?

Who Should Read This Book

How to Use This Book

Creating a Development Environment

Setting Up Your Environment

Installing SharePoint “From Scratch”

Summary

2 Introduction to SharePoint Development

Understanding SharePoint Content

Building a Web Part

Lists and Libraries

Accessing Lists and Libraries with the SharePoint Server API

Updating List Data with the SharePoint API

LINQ to SharePoint

Web Parts as Composite Controls

Event Receivers

Solutions and Features

Feature Receivers

Summary

3 Introduction to Silverlight Development

Placing Silverlight on a Web Page

Building a Simple Silverlight Application with Visual Studio 2010

Toolbox and Layout Controls

Setting Control Properties

Creating and Showing Child Windows

Advanced Features of .NET in Silverlight

Generic Collections

Automatic Properties

Anonymous Methods

Anonymous Types

Language Integrated Query (LINQ)

Networking and Web Services in Silverlight

Networking Options in Silverlight

Asynchronous Response Handling

Introducing Silverlight 5

Summary

PART II SharePoint and Silverlight Development

4 A First Look at Silverlight in SharePoint

Create Content

Filtering

Search

More Options

Down-level

Pluggable Providers

Media Web Part

JavaScript API

Ribbon

Skinning

Media Field Control

Organizational Chart

Down-level

Workflow Visualization

Down-level

Silverlight Web Part

Uploading the Silverlight Application

Adding the Silverlight Web Part

Setting Web Part Properties

Passing Initialization Parameters

Five Seconds to Load

Other Hosting Options

Content Editor Web Part

IFrame

Summary

5 Web Part Development

Silverlight Web Parts

Manually Building a Silverlight Web Part

Visual Studio Silverlight Web Parts Extension

Installing the Extension

Building a Silverlight Web Part

Building a Custom Silverlight Web Part

Connecting Web Parts

Using Silverlight in Composite Controls

Making the Connection

Summary

6 Expression Blend, Data Binding, and Sample Data

Behaviors

Building Your Own Behaviors

SketchFlow

Building a Prototype

SketchFlow Player

Documenting the Design

Feedback

Publishing to SharePoint

Design with Data

Generating SharePoint Sample Data

Using Sample Data

Databinding SketchFlow to SharePoint Data

Databinding to Indexers

Summary

7 Accessing SharePoint Using the HTML Bridge

Passing Data to Silverlight with the HTML Bridge

Passing Data on the Web Page

Passing SharePoint Library Content to Silverlight

Serializing Using the Data Contract JSON Serializer

Retrieving the Data in Silverlight

Introducing the Visual State Manager

Displaying and Caching Images

Full Screen and Printing in Silverlight

Web Part Editing and Posting Back with the Web Page

Calling SharePoint Javascript and JQuery from Silverlight

Summary

8 Accessing SharePoint Data with the Client Object Model

Client Object Model Goals

Hello World

Client Context

Load and LoadQuery

Object Model

Retrieving List Data

Updating List Data

Deleting List Data

Creating List Data

Paging

Document Upload

Creating Ribbon Custom Actions

Server Side Exception Handling

Deployment and Redistribution

Summary

9 Accessing SharePoint Data with WCF Data Services

REST and the Open Data Protocol

Getting Started with WCF Data Services

Binding to a SharePoint List Using WCF Data Services

Debugging Data Binding with Silverlight 5

Updating SharePoint Data

Paging through Large Data Sets

Caching Paged Data

Filtering and Sorting the Data

Using Silverlight 5 to Bind Style Setters

Summary

10 Accessing SharePoint with Web Services

Web Services in SharePoint

The SearchView Web Part Sample Solution

The MVVM Pattern

In-Place Web Part Editing Experience

Accessing Enterprise Search

Keyword Query Language

Accessing the Search Web Service

Invoking a Search Query

Handling Query Completion

Search Suggestions

Accessing Social Data

Accessing the User Profile Service

Accessing the Activity Feed

Adding Social Comments

Updating SearchView for Silverlight 5

Building Custom WCF Services for SharePoint

Creating a Custom Web Service

Consuming the Custom Web Service

Summary

11 Accessing External Data

Building a Feed Reader Web Part

Building a Custom Feed Reader Proxy

Adding Cross-Domain Policy to SharePoint

Using Business Connectivity Services from Silverlight

Adding a Web Browser Preview with Silverlight 5

Summary

PART III Building Solutions

12 Windows Phone 7 SharePoint Applications

Office Hub

Development Framework

Getting Started

Development Tools

Visual Studio

Expression Blend

Windows Phone Emulator

Connecting to SharePoint

Forms Based Authentication

ForeFront Unified Access Gateway

Databinding to the Task List

Development Environment

Single Machine

Multi-Machine

Multi-Machine with UAG

Single Machine with UAG

Single Machine with Hyper-V

Publishing an Application

Summary

13 Creating Silverlight Navigation

Out-of-the-Box Navigation

Site Map Providers

Building a Site Map Provider

Building a Navigation Web Part

Building a Navigation Control

Rendering a Navigation Control on a SharePoint Master Page

Summary

14 SharePoint and Silverlight in the Cloud

SharePoint Online Sandboxed Solutions, Development Environment, and Deployment

Web Services in SharePoint Online

SharePoint Online Client Object Models

WCF and ASP.NET Web Services

SharePoint Online Debugging

SharePoint Online API “Additional” Restrictions for Sandboxed Solutions

SharePoint Online Silverlight “Client Side Object Model” Data Project

SharePoint Online Silverlight REST Data Project

SharePoint Online Azure Project

SharePoint Online, SQL Azure, and Silverlight

In the SharePoint RibbonPrototype Project

Authentication in Managed Client Object Models

Related Authentication Topics

External Authentication

Summary

15 Creating a Silverlight Field Control

Defining the Bing Maps Field Type

Building a Silverlight Field Control

Serializing a Bing Maps Location

Getting Started with Bing Maps

Displaying and Editing Maps in Silverlight

Using the Location Field

Field Controls and Publishing Sites

Defining a Bing Maps Column and Content Type

Defining a Page Layout

Using the Location Field in a Publishing Site

Summary

Index

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.144.12