Register your product to gain access to bonus material or receive a coupon.
With SharePoint 2010, developers finally have the powerful, end-to-end development tools they need to build outstanding solutions quickly and painlessly. What’s more, those tools are built directly into the latest version of Visual Studio, the development platform most Microsoft developers already know. In this book, the Microsoft experts who created these tools show you how to take full advantage of them.
The authors focus specifically on the SharePoint scenarios that Visual Studio 2010 now makes accessible to mainstream Microsoft developers. They assume no experience with SharePoint development and focus on SharePoint Foundation 2010: the low-cost version designed for organizations and departments of all kinds, not just large enterprises.
SharePoint 2010 Development with Visual Studio 2010shows how to get your solution up and running fast, and then extend it to meet your precise business requirements. You’ll learn how to develop, package, and deploy robust SharePoint business collaboration applications without any unnecessary complexity or overhead.
Following a practical, developer-focused introduction to Microsoft SharePoint 2010, you’ll learn about
Whether you’re just starting out with SharePoint development, upgrading from earlier versions, or building on experience
with ASP.NET, this book will help you solve real problems and get real results—fast!
Introduction to SharePoint Development in Visual Studio 2010
Download the sample pages (includes Chapter 2 and Index)
Figures xvii
Tables xxxv
Foreword xxxix
Preface xli
Acknowledgments xliii
About the Authors xlv
Chapter 1: Introduction to SharePoint 1
What Is SharePoint Development? 1
Introduction to SharePoint Site Collections and Sites 7
The Central Administrative View of a SharePoint Server 74
A Visual Studio View of SharePoint: The Server Explorer 93
Conclusion 103
Chapter 2: Introduction to SharePoint Development in Visual Studio 2010 105
Creating a SharePoint Solution 105
Conclusion 152
Chapter 3: Introduction to the SharePoint Object Model 153
Introduction 153
The Disposable Pattern in SharePoint Development 157
Sandboxed Solutions 160
A Little Set Up 162
From the Top: Web Applications, Site Collections, and Sites 172
Working with Lists 194
Working with Queries 221
Working with Users 226
Other Important SharePoint Objects 227
Conclusion 229
Chapter 4: SharePoint Lists 231
Introduction to SharePoint Lists 231
Creating Lists 231
Conclusion 315
Chapter 5: SharePoint Event Receivers 317
Introduction to Event Receivers 317
Creating Event Receivers in Visual Studio 331
Creating Feature Event Receiver Projects 341
Deploying and Debugging Event Receiver Projects 347
Conclusion 358
Chapter 6: Working with Business Data 361
Introduction to Business Connectivity Services 361
Creating External Content Types Using SharePoint Designer 362
Creating External Content Types Using Visual Studio 384
Conclusion 455
Chapter 7: SharePoint Content Types 457
Introduction to Content Types 457
Content Types in Visual Studio 2010 470
Advanced Content Types 491
Conclusion 522
Chapter 8: SharePoint Workflow 525
Workflow Basics 525
Workflow Activities 528
SharePoint Workflows 536
Workflow Forms 552
Workflows in SharePoint Designer 562
Conclusion 578
Chapter 9: SharePoint Web Parts 579
Introduction to Web Parts 579
Web Part Fundamentals 580
Creating a Visual Web Part 581
Creating a Code-only Web Part (Sandboxed) 609
Creating a Silverlight Web Part 619
Web Part Connections 636
Configuration of Web Parts 643
Conclusion 654
Chapter 10: SharePoint Pages 655
Introduction to SharePoint Pages 655
SharePoint Architecture 655
Customizing and Developing SharePoint Pages 661
Conclusion 697
Chapter 11: Packaging and Deployment 699
The Basics and Beyond 699
SharePoint Features 699
SharePoint Solution Packaging 712
The SharePoint Project Structure in Visual Studio 721
Configurable Deployment 751
Conclusion 786
Appendix A: Preparing for SharePoint Development 787
Supported Operating Systems 787
Installing SharePoint 2010 788
Installing Visual Studio 2010 803
Installing SharePoint Designer 2010 807
Creating a Site Collection 809
Developer Dashboard 812
Conclusion 815
Index 817