Scot also former microsoft regional director for hartford
THE EXPERT’S VOICE®IN SHAREPOINT
Nikander Bruggeman
and Margriet Bruggeman
Pro SharePoint 2003 Development Techniques
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.
The source code for this book is available to readers at http://www.apress.com in the Source Code/Download section.
|
---|
■CHAPTER 1 Incorporating .NET 2.0 in SharePoint . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
■CHAPTER 2 Using Ajax and Atlas in Web Parts . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
■CHAPTER 7 InfoPath . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 287
■CHAPTER 8 Impersonation and Elevation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .ix
About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .xi
■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
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
■CHAPTER 4 | ■CONTENTS | vii |
---|---|---|
|
viii |
|
|
---|---|---|
|
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
|
---|
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.
found presenting to audiences ranging from developers to C-level |
xi
|
---|
What Does This Book Cover?
This book discusses different contemporary development techniques for doing SharePoint development. Every chapter is independent of the other chapters, so you can read the book from cover to cover or in any other order you see fit, according to your personal interest. The following sections describe the contents of each chapter.
xv
xvi ■INTRODUCTION
Chapter 5: Software Factories and Web Part Connections
In this chapter you will learn why software factories are an important contemporary trend in software architecture. The chapter teaches you how to build a domain-specific language for creating connectable web parts using the Visual Studio.NET 2005 DSL tools.
Chapter 8: Impersonation and Elevation
Codeis executed under a given identity. There are several techniques available to do this. This chapter provides a detailed discussion of the impersonation, elevation, and delegation tech-niques that are at your disposal.
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 Visual Studio .NET 2005.
Source Code
|
---|
Microsoft 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.
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 of 2005, Microsoft released 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 enhance-ments apply to both SharePoint Portal Server and Windows SharePoint Services: