this print for content only—size & color not accurate spine = 0.79" 416 page count BOOKS FOR PROFESSIONALS BY PROFESSIONALS ® Pro SharePoint 2003 Development Techniques Dear Reader, First of all, thanks for your interest in this book. We have been working with SharePoint technology since the beta release of SharePoint Portal Server 2001 and have seen the product evolve to SharePoint Products and Technologies 2003. Because we were awarded with the SharePoint Most Valuable Professional title, we were one of the first to work with that release, and we consider it to be a major improvement. With the passing of time, new and interesting topics related to SharePoint products and technologies have arisen, and Pro SharePoint 2003 Development Techniques is the first to cover them. This book discusses the landscape of SharePoint 2003 development today and beyond, integrating all of the new technologies that have already become or will soon become mainstream. This book takes current technologies and applies them in a SharePoint context. This includes ASP.NET 2.0, SQL Server 2005, Reporting Services, InfoPath, and BizTalk 2006 support for SharePoint. Also covered is software fac- tories, a new software development paradigm that is gaining ground rapidly, and the DSL tools for Visual Studio .NET 2005. This book explains how to do the popular Ajax-style web development within web parts and discusses how to use Atlas in SharePoint environments. This book also addresses how to develop SharePoint workflow applications with Windows Workflow Foundation technology and contains a very detailed discussion of SharePoint impersonation, elevation, and delegation techniques. You’ll also learn about domain-specific languages, the guidance automation toolkit, Web Services for Remote Portlets, and more. We are glad you are interested in this book. We will consider the book to be successful if the contemporary development techniques presented here are able to assist you in your daily activities as a SharePoint developer. Enjoy the read! Nikander & Margriet Bruggeman US $49.99 Shelve in .NET User level: Intermediate–Advanced www.apress.com SOURCE CODE ONLINE Bruggeman 2 SharePoint 2003 Development Techniques THE EXPERT’S VOICE ® IN SHAREPOINT Nikander Bruggeman and Margriet Bruggeman Pro SharePoint 2003 Development Techniques CYAN MAGENTA YELLOW BLACK PANTONE 123 CV ISBN 1-59059-761-3 9 781590 597613 54999 6 89253 59761 3 Nikander Bruggeman and Margriet Bruggeman, coauthors of Microsoft SharePoint Products and Technologies 2003 Resource Kit Developer’s Guide to the Windows SharePoint Services v3 Platform Microsoft Office SharePoint Portal Server 2007 Administrator’s Companion Companion eBook Available Learn how to apply contemporary development techniques in SharePoint solutions Companion eBook See last page for details on $10 eBook version RELATED TITLE Pro Pro SharePoint 2003 Development Techniques ■■■ Nikander Bruggeman and Margriet Bruggeman Bruggeman_761-3FRONT.fm Page i Tuesday, October 24, 2006 8:36 AM Pro SharePoint 2003 Development Techniques Copyright © 2006 by Nikander Bruggeman and Margriet Bruggeman All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher. ISBN-13 (pbk): 978-1-59059-761-3 ISBN-10 (pbk): 1-59059-761-3 Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1 Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark. Lead Editor: Jonathan Hassell Technical Reviewer: Scot Hillier Editorial Board: Steve Anglin, Ewan Buckingham, Gary Cornell, Jason Gilmore, Jonathan Gennick, Jonathan Hassell, James Huddleston, Chris Mills, Matthew Moodie, Dominic Shakeshaft, Jim Sumser, Keir Thomas, Matt Wade Project Manager: Tracy Brown Collins Copy Edit Manager: Nicole Flores Copy Editor: Jennifer Whipple Assistant Production Director: Kari Brooks-Copony Production Editor: Laura Cheu Compositor: Susan Glinert Stevens Proofreader: Dan Shaw Indexer: Michael Brinkman Artist: April Milne Cover Designer: Kurt Krames Manufacturing Director: Tom Debolski Distributed to the book trade worldwide by Springer-Verlag New York, Inc., 233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders-ny@springer-sbm.com, or visit http://www.springeronline.com. For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA 94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com. The information in this book is distributed on an “as is” basis, without warranty. Although every precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work. The source code for this book is available to readers at http://www.apress.com in the Source Code/Download section. Bruggeman_761-3FRONT.fm Page ii Tuesday, October 24, 2006 8:36 AM iii Contents at a Glance About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiii Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv ■CHAPTER 1 Incorporating .NET 2.0 in SharePoint . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 ■CHAPTER 2 Using Ajax and Atlas in Web Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 ■CHAPTER 3 SQL Server 2005 Reporting Services . . . . . . . . . . . . . . . . . . . . . . . . . . 93 ■CHAPTER 4 Windows Workflow Foundation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143 ■CHAPTER 5 Software Factories and Web Part Connections . . . . . . . . . . . . . . . . 175 ■CHAPTER 6 Web Services for Remote Portlets . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 ■CHAPTER 7 InfoPath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 ■CHAPTER 8 Impersonation and Elevation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 ■BIBLIOGRAPHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 ■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 Bruggeman_761-3FRONT.fm Page iii Tuesday, October 24, 2006 8:36 AM Bruggeman_761-3FRONT.fm Page iv Tuesday, October 24, 2006 8:36 AM v Contents About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xiii Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xv ■CHAPTER 1 Incorporating .NET 2.0 in SharePoint . . . . . . . . . . . . . . . . . . . . . . 1 SharePoint Products and Service Packs . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Installing Windows SharePoint Services and ASP.NET 2.0 . . . . . . . . . . . . 2 Data Stores . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 How to Configure ASP.NET 2.0 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 Things to Remember . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 Creating Web Parts via Visual Studio .NET 2005 . . . . . . . . . . . . . . . . . . . . 9 Enhancing Development of Web Parts with the Guidance Automation Toolkit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Guidance Package Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Installing and Using the Web Part Library Template. . . . . . . . . . . . . 13 Guidance Automation Toolkit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 Creation of the Web Part Library Template . . . . . . . . . . . . . . . . . . . . 22 ASP.NET 2.0 Server Controls . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 The FileUpload Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 The BulletedList Control. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 The Wizard Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 ■CHAPTER 2 Using Ajax and Atlas in Web Parts . . . . . . . . . . . . . . . . . . . . . . . 35 What Are Ajax and Atlas? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35 Ajax Frameworks for ASP.NET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 Creating Web Services in Windows SharePoint Services . . . . . . . . . . . . . 40 Bruggeman_761-3FRONT.fm Page v Tuesday, October 24, 2006 8:36 AM vi ■CONTENTS JavaScript in Web Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 The Content Editor Web Part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Web Part Tokens. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 Rendering JavaScript Within a Web Part . . . . . . . . . . . . . . . . . . . . . . 48 JavaScript On-Demand Loading . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 Debugging JavaScript . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 Remote Calls Prior to Atlas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53 Retrieving Data via XMLHttpRequest . . . . . . . . . . . . . . . . . . . . . . . . . 53 Web Service Behavior . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 Web Service Message Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 Plain Text. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57 HTML Response . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 XML Message . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 JSON Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 Installing Atlas . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 Building a Performance Counter Web Part . . . . . . . . . . . . . . . . . . . . . . . . 61 Building a Company Contact Web Part Using Atlas and JSON . . . . . . . . 73 Building an Autocompletion Web Part . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78 Client-Side Connectable Web Parts and Atlas . . . . . . . . . . . . . . . . . . . . . . 83 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 92 ■CHAPTER 3 SQL Server 2005 Reporting Services . . . . . . . . . . . . . . . . . . . . . 93 Introducing Reporting Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 Building a Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 Viewing a Report. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 Reporting Services Extensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 Data Processing Extension Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 Developing a Custom Data Extension. . . . . . . . . . . . . . . . . . . . . . . . 112 Deployment of a Custom Data Extension. . . . . . . . . . . . . . . . . . . . . 125 Using the Custom Data Extension. . . . . . . . . . . . . . . . . . . . . . . . . . . 127 Delivering Extension Example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 132 SQL Server Report Pack for SharePoint Portal Server 2003 . . . . . . . . . 133 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 Bruggeman_761-3FRONT.fm Page vi Tuesday, October 24, 2006 8:36 AM ■CONTENTS vii ■CHAPTER 4 Windows Workflow Foundation . . . . . . . . . . . . . . . . . . . . . . . . . 143 Getting to Know Windows Workflow Foundation . . . . . . . . . . . . . . . . . . 143 Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144 Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147 Workflow Styles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149 Installing Windows Workflow Foundation . . . . . . . . . . . . . . . . . . . . . . . . 151 Visual Studio 2005 Designer for Windows Workflow Foundation . . . . . 152 Creating a Simple Workflow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 154 Debugging a Workflow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 158 Creating an Activity. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159 Creating Workflows for SharePoint 2003 . . . . . . . . . . . . . . . . . . . . . . . . . 162 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 174 ■CHAPTER 5 Software Factories and Web Part Connections . . . . . . . . . 175 Introducing Software Factories . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175 Background on Domain-Specific Languages . . . . . . . . . . . . . . . . . . . . . 176 Components of a Software Factory . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 177 Using DSL Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 178 Web Part Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 179 The Cell Interface Pair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 181 The Row Interface Pair. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183 The List Interface Pair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 The Filter Interface Pair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 The ParamsOut Interface Pair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184 The ParamsIn Interface Pair . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 185 What Else Do You Need to Know? . . . . . . . . . . . . . . . . . . . . . . . . . . 186 Creating a Connectable Web Part . . . . . . . . . . . . . . . . . . . . . . . . . . . 187 Creating the Web Part Connection Language . . . . . . . . . . . . . . . . . . . . . 197 Installation of the DSL Toolkit for Visual Studio .NET 2005 . . . . . . 197 Creating a Domain Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198 Validation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223 Text Templates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 240 Deploying the Web Part Connection Language . . . . . . . . . . . . . . . . 250 Using the Web Part Connection Language. . . . . . . . . . . . . . . . . . . . 253 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 257 Bruggeman_761-3FRONT.fm Page vii Tuesday, October 24, 2006 8:36 AM viii ■CONTENTS ■CHAPTER 6 Web Services for Remote Portlets . . . . . . . . . . . . . . . . . . . . . . . 259 Getting to Know WSRP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259 Approaches for User Interface Reuse . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260 Common WSRP Architectures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 262 WSRP Benefits and Drawbacks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 264 Delving Deeper into the WSRP Specification . . . . . . . . . . . . . . . . . . . . . . 267 Configuring a WSRP Consumer for SharePoint 2003 Portals . . . . . . . . . 277 Implementing a WSRP Producer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286 ■CHAPTER 7 InfoPath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 InfoPath Walkthrough . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287 Supporting Multiple InfoPath Form Templates . . . . . . . . . . . . . . . . . . . . 292 Data Binding with InfoPath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294 Updating and Saving an InfoPath Form Programmatically . . . . . . . . . . . 297 Using a Submit Button . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 301 Integration Between InfoPath, SharePoint, and BizTalk Server 2006 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304 Message Processing Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305 Windows SharePoint Services Adapter Overview . . . . . . . . . . . . . . 306 Working with the Windows SharePoint Services Adapter . . . . . . . 308 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 327 ■CHAPTER 8 Impersonation and Elevation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 LogonUser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329 Encrypting Sensitive Data via DPAPI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337 Using the SecureString Class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338 Storing Sensitive Information in an Encrypted Way . . . . . . . . . . . . 338 Single Sign-On . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 339 RevertToSelf . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 344 Creating a New AppDomain . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347 Enterprise Services COM+ Component . . . . . . . . . . . . . . . . . . . . . . . . . . 352 Queued Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 358 Delegation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 366 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 369 ■BIBLIOGRAPHY . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 371 ■INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 373 Bruggeman_761-3FRONT.fm Page viii Tuesday, October 24, 2006 8:36 AM ix About the Authors ■NIKANDER BRUGGEMAN started his career building web sites using HTML, CGI, and Perl. Later, when JavaScript 1.0 was released, he built numerous web sites based on LiveWire technology while working for a Netscape- oriented company. Nikander then moved to a company that special- izes in Microsoft technology. Currently, Nikander is an independent consultant, specializing in building .NET applications using the latest Microsoft technology. His current work includes software design, development, consulting, and training, and he has worked for compa- nies such as Universal Music, Arvato-Bertelsmann, Coca-Cola, Shell, Intel, and Sara Lee/DE. He was given the prestigious Most Valuable Professional (MVP) award from Microsoft for his work on the SharePoint Portal Server platform. Nikander has coauthored several other SharePoint books and has written numerous articles. He lives in the heart of Amsterdam, and when not developing software or writing about it, he loves to watch sports and movies. Nikander can be reached via info@lcbridge.nl. ■MARGRIET BRUGGEMAN began her professional career as a quality assurance engineer. She then became a software developer, architect, consultant, and trainer. Margriet is an independent consultant special- izing in building .NET applications using the latest Microsoft technology. She has worked for companies such as Interpay, Ericsson, Ford, Corus, Interpolis, and SNS Reaal. Margriet has written numerous articles, coauthored multiple SharePoint books, and was awarded the prestig- ious Most Valuable Professional (MVP) award from Microsoft for her work on the SharePoint Portal Server platform. Margriet is very fond of animals, and when not busy doing IT-related activities, she can be found near dogs, cats, horses, rabbits, birds, and other fuzzy creatures. Margriet can be reached via info@lcbridge.nl. Bruggeman_761-3FRONT.fm Page ix Tuesday, October 24, 2006 8:36 AM [...]... Studio NET 2005 and extend your development possibilities with its Guidance Automation Toolkit (GAT) To finish this chapter we will show you how to incorporate the new ASP.NET 2.0 server controls within web parts SharePoint Products and Service Packs SharePoint Products and Technologies is made up of two different products: Office SharePoint Portal Server 2003 and Windows SharePoint Services At the end... book will provide information and insight about contemporary development techniques that will help you in your daily activities as a SharePoint developer What Do You Need to Use This Book? Each chapter discusses the requirements for testing the techniques and examples described in the chapter In general, you will need to have access to Windows SharePoint Services, SharePoint Portal Server 2003, and... Incorporating NET 2.0 in SharePoint M icrosoft SharePoint Products and Technologies has been around for a couple of years now and has proven to be very useful for companies around the world that are implementing portal, team collaboration, or enterprise content management strategies The development landscape has changed considerably since SharePoint Products and Technologies was introduced in 2003, largely influenced... NET Framework 2.0 This chapter discusses how to incorporate the exciting new features of NET 2.0 into SharePoint Products and Technologies First, the chapter discusses the service packs for Office SharePoint Portal Server 2003 and Windows SharePoint Services, the two products that make up SharePoint Products and Technologies We cover installation of these as well as ASP.NET 2.0 and how to use data stores... the feeling that there was room for a new book about SharePoint Products and Technologies 2003: a book that describes contemporary development techniques for doing SharePoint development This book comes at a perfect time It could not have been written one or two years earlier, because it describes brand-new technology; and in one or two more years SharePoint 2007 will hit the market and be slowly adopted... with a discussion of the integration between SharePoint Products and Technologies 2003 and NET Framework 2.0 This chapter discusses how to install NET Framework 2.0 on Windows SharePoint Services server, creating SharePoint web parts via Visual Studio NET 2005, enhancing development with the Guidance Automation Toolkit (GAT), learning how to run Windows SharePoint Services in combination with SQL Server... chapter provides a detailed discussion of the impersonation, elevation, and delegation techniques that are at your disposal Bruggeman_761-3FRONT.fm Page xvii Tuesday, October 24, 2006 8:36 AM ■I N T R O D U C T I O N Who Is This Book For? This book is targeted to SharePoint Portal Server and Windows SharePoint Services developers who want to learn about the shape of the landscape of SharePoint 2003 development. .. Service Pack 2.0, two service packs for SharePoint Portal Server 2003 and Windows SharePoint Services These two service packs contain four new enhancements The following three enhancements apply to both SharePoint Portal Server and Windows SharePoint Services: • The ability to run on Microsoft Windows Server 64-bit versions: SharePoint Portal Server and Windows SharePoint Services both support being... INCORPORATING NET 2.0 IN SHAREPOINT not an option for SharePoint Portal Server 2003, although it is an appealing option for Windows SharePoint Services For Windows SharePoint Services installations, if you upgrade to ASP.NET 2.0 (and the NET Framework 2.0, which is automatically upgraded when installing ASP.NET 2.0) you will be able to take advantage of the many improvements to the development framework... folder of the SharePoint virtual server by right-clicking your project, choosing Properties, and clicking the Build tab In the Output section, you will find the output path property, as shown in Figure 1-8 Figure 1-8 Setting the output path property in Visual Studio NET 2005 Before starting to code the web part, you also have to add references in your project to the System.Web and the Microsoft.SharePoint . CODE ONLINE Bruggeman 2 SharePoint 2003 Development Techniques THE EXPERT’S VOICE ® IN SHAREPOINT Nikander Bruggeman and Margriet Bruggeman Pro SharePoint 2003 Development Techniques CYAN MAGENTA YELLOW BLACK PANTONE. apply contemporary development techniques in SharePoint solutions Companion eBook See last page for details on $10 eBook version RELATED TITLE Pro Pro SharePoint 2003 Development Techniques ■■■ Nikander. count BOOKS FOR PROFESSIONALS BY PROFESSIONALS ® Pro SharePoint 2003 Development Techniques Dear Reader, First of all, thanks for your interest in this book. We have been working with SharePoint technology