Print this page Share

Beginning SharePoint 2010 Development

ISBN: 978-0-470-58463-7
504 pages
June 2010
Beginning SharePoint 2010 Development (0470584637) cover image


Discover how to take advantage of the many new features in SharePoint 2010

SharePoint 2010 is a significant leap forward from the 2007 release, and 'you will find that there are a ton of features built into the platform for you to leverage in your solution development. Because SharePoint is a broad platform that covers a lot, this book also covers quite a bit of ground. As a Wrox Beginning book, the goal of Beginning SharePoint 2010 Development is to get you started with many of the fundamentals so that you can continue on to advanced programming beyond this book.

The book's goal is to quickly take you from the basics of SharePoint, to installing and configuring a development environment, and then into how you can develop for SharePoint. The book is heavy on coding exercises, but tries to stick to a common set of .NET patterns to ensure you walk away with understanding the different ways in which you can code for SharePoint. Moving from beginning to advanced means that you can expect the walkthroughs and chapters to become increasingly more complex within each chapter and throughout the book. The walkthroughs have been created to be concise and to guide you through all of the steps you must accomplish to complete a coding task.

Beginning SharePoint 2010 Development is aimed at the developer who is new to SharePoint. The book assumes you have some programming experience and a passion to learn how to develop for SharePoint. But this book does not assume that you've programmed against SharePoint before. With regard to your general development background, the two assumptions in this book are that you have some familiarity with Web development, and you have an understanding of .NET programming. With regard to Web development, this book assumes that you understand HTML, and may have an understanding of Cascading Style Sheets (CSS), Extensible Markup Language/Extensible Stylesheet Language (XML/XSL), and dynamic languages such as JavaScript. You may have a light understanding of ASP.NET and are looking to apply this knowledge to the SharePoint space. In any case, you have some understanding of the fundamentals of Web and .NET development, and are looking to apply those to the SharePoint space.

See More

Table of Contents

Introduction xxiii

Part I: Welcome to SharePoint 2010

Chapter 1: Introduction to SharePoint 2010 3

Getting to Know SharePoint 4

Addressing the Needs of the Developer 8

Extension and Enrichment for Developers 9

Breaking It Down for Developers 10

SharePoint 2010: The Platform 12

SharePoint 2010 Capabilities 14

Site Collection and Sites 15

Server APIs and Client APIs 17

Data Modeling and Programmability 18

SharePoint Central Administration 19

Application Management 20

Monitoring 21

Security 21

General Application Settings 21

System Settings 21

Backup and Restore 21

Upgrade and Migration 22

Configuration Wizards 22

Summary 22

Recommended Reading 24

Chapter 2: Getting Started with SharePoint 2010 Development 25

Core Developer Features for SharePoint 2010 26

Developer Productivity 26

Rich Platform Services 30

Flexible Deployment 32

Key Skills for the SharePoint Developer 34

Your Development Environment 36

Installing and Configuring Windows Server Hyper-V 37

Installing SharePoint Server 2010 42

Getting Familiar with SharePoint 2010 45

Working with SharePoint Sites 46

Working with SharePoint Lists 50

Working with SharePoint Web Parts 58

Setting Permissions for a SharePoint Site 63

Summary 64

Recommended Reading 66

Part II : Getting Started with SharePoint 2010 Development

Chapter 3: SharePoint 2010 Developer Tools 69

SharePoint Development Across Developer Segments 70

Web-Based Development in SharePoint 71

Site Settings 72

Inline Rich Text and HTML Editing 74

Adding Multimedia to a Site 76

Developing SharePoint Applications Using SharePoint Designer 2010 78

Customizing a Site Page 80

Managing Other Data Sources in SharePoint Designer 85

Using JavaScript in SharePoint Designer 86

Master Pages 91

Developing SharePoint Applications Using Visual Studio 2010 98

Development Using the Expression Blend Suite 116

Summary 126

Recommended Reading 127

Chapter 4: Common Developer Tasks in SharePoint 2010 129

Creating Web Parts 130

Standard and Visual Web Parts 130

Data View Web Parts 133

Creating Lists, Site Columns, and Content Types 135

Working with SharePoint Data 141

Creating Event Receivers 147

Creating aspx Pages 150

Creating Master Pages 153

Summary 157

Recommended Reading 158

Chapter 5: Programming Against SharePoint 2010 Lists 159

Overview of SharePoint Lists 159

Programmatically Accessing Lists 162

Programming Against Lists Using the Server-Side Object Model 163

Programming Against Lists Using ASP.NET Web Services 171

Programming Against Lists Using the Client Object Model 186

Programming Against Lists Using a Custom WCF Service 197

REST-Based Services and List Development 202

Creating Event Receivers for a SharePoint List 210

Summary 215

Recommended Reading 216

Chapter 6: Building and Deploying SharePoint Web Parts 217

Understanding Web Parts 217

Web Part Architecture 220

Custom Web Parts 223

Visual Web Parts 233

Custom Web Part Properties 244

Summary 246

Recommended Reading 248

Chapter 7: Creating Your First SharePoint 2010 Application 249

Requirements 250

Solution Design 251

Customer Sales and Total Sales Lists 252

Building the Application 254

Adding a Record to the Sales List 254

Viewing the Customer Sales 258

Viewing the Total Sales 262

Adding a Chart Web Part 268

Final Dashboard 271

Summary 272

Recommended Reading 274

Part III : Advanced Topics for SharePoint 2010 Development

Chapter 8: Integrating Line-of-Business Data Using Business Connectivity Services 277

Understanding Office Business Applications (OBAs) 278

OBAs and BCS 280

Anatomy of an External Content Type 284

Connectivity Options with BCS 287

Developing Your First Application Using BCS 289

Creating the External Data Source 290

Creating the External Content Type 291

Setting Permissions for External Content Types 306

Taking the External List Offline 307

Summary 313

Recommended Reading 315

Chapter 9: Creating Enhanced User Experiences for SharePoint with Silverlight 317

Understanding Silverlight 317

Why Integrate Silverlight and SharePoint? 325

Integrating Silverlight with SharePoint 326

No-Touch Integration 328

Low-Touch Integration 331

High-Touch Integration 343

Summary 361

Recommended Reading 362

Chapter 10: Developing Service-Oriented Applications for SharePoint 2010 363

ASP.NET Web Services 365

Native Web Service 366

Custom ASP.NET Services 370

WCF Web Services 378

RESTful Web Services 387

Azure and SharePoint 390

Summary 396

Recommended Reading 398

Chapter 11: Integrating SharePoint with Microsoft Office 399

Content Type as a Document Template 400

Using InfoPath in Your SharePoint Solutions 404

Managing Office Documents through a SharePoint Workflow 406

Integrating Office Documents with SharePoint List Data 410

Server-Side Services 418

Visio Services 418

Excel Services 420

Word Services 426

Access Services 427

Summary 429

Recommended Reading 431

Chapter 12: Securing Your SharePoint 2010 Applications 433

Authorization 434

Solution Trust 436

Secure Store Service 440

Federated Authentication 442

Forms-Based Authentication 442

Claims-Based Authentication 443

Summary 444

Recommended Reading 446

Part IV : Appendix

Appendix : Where to Go from Here 449

Index 451

See More

Author Information

Steve Fox is a Technical Evangelist in the Developer Platform Evangelism group at Microsoft. He's worked in the IT industry for over 15 years, in areas such as natural language, search, developer tools, and more recently Office Business Application and SharePoint development. Steve also presents at many conferences such as TechEd, VSLive, DevConnections, SAP TechEd, among others, and has written a number of articles for MSDN Magazine.

See More


Download TitleSizeDownload
ReadMe doc 22.50 KB Click to Download
Chapter 02 Code Downloads 277.00 KB Click to Download
Chapter 03 Code Downloads 4.34 MB Click to Download
Chapter 04 Code Downloads 379.36 KB Click to Download
Chapter 05 Code Downloads 607.84 KB Click to Download
Chapter 06 Code Downloads 175.82 KB Click to Download
Chapter 07 Code Downloads 88.51 KB Click to Download
Chapter 08 Code Downloads 2.01 MB Click to Download
Chapter 09 Code Downloads 12.93 MB Click to Download
Chapter 10 Code Downloads 653.73 KB Click to Download
Chapter 11 Code Downloads
Revised 10/1/10
556.26 KB Click to Download
Chapter 12 Code Downloads 24.68 KB Click to Download
Code Downloads for the whole book
Revised with updated Chapter 11 files on 11/1/10.
21.99 MB Click to Download
See More

Press Release

September 15, 2010
Beginning SharePoint 2010 Development

Author Steve Fox talks about the exciting features available to developers in SharePoint 2010.

See More
Back to Top