×

Uh-oh, it looks like your Internet Explorer is out of date.

For a better shopping experience, please upgrade now.

Microsoft SharePoint 2007 Development Unleashed
  • Alternative view 1 of Microsoft SharePoint 2007 Development Unleashed
  • Alternative view 2 of Microsoft SharePoint 2007 Development Unleashed
     

Microsoft SharePoint 2007 Development Unleashed

by Kevin Hoffman, Robert Foster
 

See All Formats & Editions

This is the most comprehensive, practical guide to building enterpriseclass applications with SharePoint 2007, ASP.NET 2.0, Visual C# 2005, and the Microsoft Office 2007 system. Microsoft SharePoint 2007 Development Unleashed is designed for every working .NET developer: both those with SharePoint experience and those new to SharePoint. The authors

Overview

This is the most comprehensive, practical guide to building enterpriseclass applications with SharePoint 2007, ASP.NET 2.0, Visual C# 2005, and the Microsoft Office 2007 system. Microsoft SharePoint 2007 Development Unleashed is designed for every working .NET developer: both those with SharePoint experience and those new to SharePoint. The authors thoroughly introduce SharePoint 2007 as a development platform and offer in-depth, example-rich coverage of every significant tool for programmers--from “Features and Solutions” to list events, from user profiles to Web Parts. You’ll walk step-by-step through building each major type of SharePoint application. You’ll also find in-depth coverage of SharePoint 2007’s rich collection of built-in Web services, including services for building document workspaces, centralizing the management of Excel spreadsheets, ensuring security, and much more.

Detailed information on how to…

  • Use CAML, SharePoint’s XML-based language for defining content, manipulating searches, and more
  • Work with the SharePoint Object Model
  • Build reusable packages for easy deployment to SharePoint server farms
  • Program SharePoint webs, sites, document libraries, and files
  • Leverage SharePoint 2007’s improved lists and new list events
  • Manipulate and query meetings and Meeting Workspaces
  • Integrate external business data into SharePoint applications
  • Construct business workflows for enterprise content management and other applications
  • Program ASP.NET-based SharePoint Web Parts, from the basics to state-of-the-art techniques
  • Create Web Parts that can provide and consume data through connections
  • Use SharePoint 2007’s built-in Web services for managing document and Meeting Workspaces, imaging, and lists
  • Centralize spreadsheet storage and management with Excel Services
  • Manage user profiles and enhance application security
  • Debug and deploy SharePoint 2007 applications
  • Work with Records Repositories and metadata

Introduction 1

1 Collaborative Application Markup Language (CAML) Primer 5

Part I Programming with the SharePoint Object Model

2 Introduction to the SharePoint Object Model 15

3 Programming with Features and Solutions 25

4 Working with Sites and Webs 35

5 Managing SharePoint Lists 47

6 Advanced List Management 59

7 Handling List Events 69

8 Working with Document Libraries and Files 83

9 Working with Meetings 97

Part II Enterprise Content Management

10 Integrating Business Data 109

11 Creating Business Data Applications 121

12 Working with User Profiles 135

13 Building Workflows 147

Part III Programming SharePoint Web Parts

14 ASP.NET Server Control Primer 163

15 Introduction to Web Parts 173

16 Developing Full-Featured Web Parts 191

17 Building Web Parts for Maintaining SharePoint 2007 Lists 205

18 Building Connected Web Parts 217

19 Debugging and Deploying Web Parts 229

Part IV Programming the SharePoint 2007 Web Services

20 Using the Document Workspace Web Service 241

21 Using the Imaging Web Service 255

22 Using the Lists Web Service 273

23 Using the Meeting Workspace Web Service 291

24 Working with User Profiles and Security 307

25 Using Excel Services 321

26 Working with the Web Part Pages Web Service 337

27 Using the Business Data Catalog Web Services 347

28 Using the Workflow Web Service 359

29 Working with Records Repositories 369

30 Additional Web Services 377

Index 387

Product Details

ISBN-13:
9780672329036
Publisher:
Sams
Publication date:
06/07/2007
Series:
Unleashed Series
Pages:
412
Product dimensions:
6.90(w) x 9.10(h) x 1.12(d)

Read an Excerpt

IntroductionIntroduction

When many people first encounter Microsoft Office SharePoint Server (MOSS), they are often confused. Out of the box, a lot of people have trouble figuring out what it does and what it's for. The most important thing to realize about SharePoint is that it isn't intended to be a complete, off-the-shelf, shrink-wrapped product. Rather, MOSS is a development platform, upon which powerful and compelling portal applications can be built.

This book provides developers with a thorough, in-depth guide to the internals of writing code for the SharePoint platform. SharePoint programming can be divided into four main categories: programming the object model, programming the web services, programming the Web Parts, and programming the enterprise content.

Programming the SharePoint object model involves writing code that physically resides on one of the front-end servers in a SharePoint web farm. Web services expose powerful SharePoint functionality to applications that do not reside on the same server as SharePoint, such as smart clients and other remote servers. Web Parts are components that can be dropped onto Web Part pages within a SharePoint site, which provide valuable displays for various types of data and functionality. Finally, enterprise content programming involves working with the Business Data Catalog.

The following is a description of the chapters included in this book:

  • Chapter 1: CAML Primer—This chapter provides an introduction to the Collaborative Application Markup Language (CAML), an Extensible Markup Language (

  • Part I: Programming with the SharePoint ObjectModel
  • Chapter 2: Introduction to the SharePoint Object Model—This chapter provides an introduction to writing server-side code that interfaces directly with the SharePoint application programming interface (API).
  • Chapter 3: Programming with Features and Solutions—Features and Solutions are powerful new concepts in this version of SharePoint that allow developers to create reusable packages that can be easily installed and deployed throughout a farm. This chapter shows you how to write code to manipulate and query Features and Solutions.
  • Chapter 4: Working with Sites and Webs—This chapter provides an introduction to programming with the main units of hierarchy within SharePoint—webs and sites.
  • Chapter 5: Managing SharePoint Lists—Virtually every piece of data contained within SharePoint is contained as a list item in a list. As a result, knowing how to program against lists is a vital developer skill and this chapter provides a thorough introduction to managing lists and list items.
  • Chapter 6: Advanced List Management—This chapter builds on the previous chapter and provides additional information and samples on working with lists and list items.
  • Chapter 7: Handling List Events—This chapter illustrates how to write code that will respond to events that take place on lists and list items. Previous versions of SharePoint limited this functionality to only document libraries, and this chapter shows you how to harness the new power of list events.
  • Chapter 8: Working with Document Libraries and Files—Document libraries provide a powerful way to store documents, photos, slide shows, and any other type of file. This chapter shows you how to write code to query and manipulate document libraries, folders, and the files contained within them.
  • Chapter 9: Working with Meetings—Meetings are a powerful aspect of the collaboration functionality provided by SharePoint. This chapter gives you thorough coverage of how to work with the object model to manipulate and query meetings and meeting workspaces.
  • Part II: Enterprise Content Management
  • Chapter 10: Integrating Business Data—This chapter provides an overview of how to integrate external business data into your SharePoint application.
  • Chapter 11: Creating Business Data Applications—This chapter details how to create an application that can expose its data to a SharePoint application via the Business Data Catalog.
  • Chapter 12: Working with User Profiles—User profiles are an important concept in the enterprise deployment and configuration of SharePoint, and have seen much improvement in this new release. This chapter provides details on how to work with user profiles as a developer.
  • Chapter 13: Building Workflows—Integration with the Windows Workflow Foundation is a critical piece of new functionality in MOSS 2007, and this chapter details how to create workflows that can be used for enterprise content management either through Visual Studio or through the SharePoint Designer.
  • Part III: Programming SharePoint Web Parts
  • Chapter 14: ASP.NET Control Primer—Before you can grasp the intricacies of building SharePoint Web Parts, you need to know how they work and what makes them possible. SharePoint Web Parts are specialized versions of ASP.NET Web Parts, which are ASP.NET server controls. This chapter provides an overview of the ASP.NET web controls that make Web Parts possible.
  • Chapter 15: Introduction to Web Parts—This chapter provides an overview of building SharePoint Web Parts.
  • Chapter 16: Developing Full-Featured Web Parts—This chapter expands on the foundation provided by the previous chapter and gets into more detail on how to create truly powerful and compelling Web Parts.
  • Chapter 17: Building Web Parts for Maintaining SharePoint 2007 Lists—Lists are a key part of the data storage facility provided by SharePoint and one of the most common tasks of SharePoint Web Parts is interacting with SharePoint lists—the subject of this chapter.
  • Chapter 18: Building Connected Web Parts—One of the most powerful features of Web Parts is their ability to provide and consume data through connections. This chapter shows you how to build connected Web Parts.
  • Chapter 19: Debugging and Deploying Web Parts—After you know how to build Web Parts and how to write the code, you need to debug and deploy those Web Parts and harden them for a production environment. This chapter provides you with the information you need to debug and deploy your Web Parts.
  • Part IV: Programming the SharePoint 2007 Web Services
  • Chapter 20: Using the Document Workspaces Web Service—This chapter illustrates how to use web services to interact with document workspaces and related data.
  • Chapter 21: Using the Imaging Web Service—This chapter illustrates how to use the Imaging Web Service provided by SharePoint, including creating a sample photo browser client application.
  • Chapter 22: Using the Lists Web Service—This chapter details how to interact with lists and list items remotely using the Lists Web Service.
  • Chapter 23: Using the Meeting Workspaces Web Service—This chapter provides an overview of interacting with meeting workspaces using the Meeting Workspaces Web Service.
  • Chapter 24: Working with User Profiles and Security—User profiles and security are an important aspect of SharePoint development, and this chapter illustrates how to work with user profiles, security groups, and permissions using web services.
  • Chapter 25: Using Excel Services—This chapter covers the use of Excel Services in SharePoint 2007. Excel Services is a powerful new feature of SharePoint 2007 that allows for centralized storage and management of spreadsheets. This web service allows for session-based query and manipulation of server-side spreadsheets.
  • Chapter 26: Working with the Web Part Pages Services—This chapter covers manipulating Web Part Pages via web services. This web service exposes functionality that lets applications remotely manipulate Web Parts and Web Part pages, such as installing, hiding, removing, and changing properties for Web Parts.
  • Chapter 27: Using the Business Data Catalog Web Services—This chapter covers utilizing some of the functionality of the Business Data Catalog from remote client applications via Web Services.
  • Chapter 28: Using the Workflow Web Service—This chapter discusses the Workflow Web Service, which exposes functionality for initiating workflows, changing workflow properties, and manipulating workflow tasks.
  • Chapter 29: Working with Records Repositories—This chapter deals with the Official File Web Service. Records repositories allow for the storage of files and their associated metadata in a read-only location that can satisfy compliance regulations and audit rules.
  • Chapter 30: Additional Web Services—This chapter provides details on several other web services that might be handy for developers.

© Copyright Pearson Education. All rights reserved.

Meet the Author

Kevin Hoffman wrote his first line of code more than 21 years ago. When he received his first computer, a Commodore VIC-20, he became addicted immediately and has been writing code and learning as much about programming and the art of software development ever since. He has worked in many industries writing applications for the .NET Framework since the original 1.0 release, and, more recently, has been involved in development for the .NET Framework 3.0 and SharePoint 2007. He is currently a Research Developer for Liquidnet Holdings, one of the largest global institutional equities brokers, working on many varied technologies, including the .NET Framework and SharePoint 2007.

Rob Foster is an enterprise architect in Nashville, Tennessee. He began writing code at the age of 10 when he purchased his first computer, a Tandy TRS-80 Color Computer 2, with money that he received for his birthday. He graduated from Middle Tennessee State University with a BBA in Computer Information Systems and holds several certifications, including MCSD, MCSE, MCDBA, and MCT. In 2000 with the PDC bits in hand, Rob founded the Nashville .NET Users Group (http://www.nashdotnet.org), which is a charter member of INETA. He has been writing and designing .NET applications since version 1.0, as well as has been implementing SharePoint solutions since SharePoint 2001. In his spare time, Rob enjoys writing books and articles relating to SharePoint and .NET. Rob lives in Murfreesboro, Tennessee, with his wife, Leigh, and two sons, Andrew and Will.

Customer Reviews

Average Review:

Post to your social network

     

Most Helpful Customer Reviews

See all customer reviews