Book Image

Microsoft SharePoint 2010 development cookbook

By : Ed Musters
Book Image

Microsoft SharePoint 2010 development cookbook

By: Ed Musters

Overview of this book

<p>There is a heavy demand in the marketplace for SharePoint developers that you could take advantage of - if only you had the opportunity to acquire the relevant skills! But, SharePoint 2010 is a big old product with a steep learning curve &ndash; where do you begin? <br /><br />This book has been designed to take the experienced ASP.NET developer from &ldquo;beginner&rdquo; to &ldquo;professional&rdquo; SharePoint developer in the shortest amount of time. You will be productive on you very first SharePoint development assignment with the knowledge and skills that you learn here. You will have distilled the essence of the author&rsquo;s many years of training, and leading development teams in SharePoint. <br /><br />This book uncovers the most common &ldquo;pattern&rdquo; of typical SharePoint development tasks encountered in the real world and puts the topics in a logical order with detailed step-by-step recipes for you to follow. <br />The practical example given builds and flows throughout the chapters and topics. By the end of this book, you will be able to apply the concepts to the challenges ahead of you!</p>
Table of Contents (15 chapters)
Microsoft SharePoint 2010 Development Cookbook
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Using the Data Form Web Part with WCF data


In this recipe, we will use two connected Data Form Web Parts. One will display the list of Suppliers directly from the Northwind database via RESTful WCF Data Services. Then we will connect a second list that will show the products from the selected supplier.

Getting ready

Carry out the following steps in order to

  1. Ensure that your Northwind data service is running:

    • Ensure that your Chapter6NorthwindDataService solution is open in Visual Studio 2010.

    • Right-click on NorthwindDataService.svc and choose View in browser.

    • Copy the URL to the clipboard and get ready to use it for your data source.

  2. Ensure SharePoint Designer 2010 has been opened to the Chapter 6 URL:

    • From the Navigation section, under Site Objects, choose Data Sources.

    • From the Data Sources tab in the ribbon, click on REST Service Connection, as shown in the following screenshot:

    • On the Data Source Properties window, paste your WCF Service URL into the Enter the URL to a server-side script: textbox...