A complete revision to a popular Share Point developer’s resource
Fully updated for Share Point 2013, this book is an ideal starting place for Share Point development. Covering all the major topics that a new developer needs to know in order to get started, this resource contains 100 percent new content and addresses the major overhaul to the Share Point 2013 platform. The team of authors, led by Microsoft’s Steve Fox, presents you with a detailed overview that helps you establish a starting point for development. They then walk you through ways to advance your knowledge so that you leverage the new Share Point 2013 features to build custom solutions.
- Addresses developing managed or unmanaged applications
- Provides an overview of Windows Azure for Share Point
- Looks at common developer tasks in Share Point 2013
- Gets you started with building, packaging, and deploying Share Point 2013 applications
- Highlights essential points of security in Share Point 2013
Touching on everything from developing applications using Office services to development workflow applications, Beginning Share Point 2013 Development covers everything you need to know to start confidently working with the platform today.
Cuprins
INTRODUCTION xxiii
PART I: GETTING STARTED WITH SHAREPOINT 2013
CHAPTER 1: INTRODUCTION TO SHAREPOINT 2013 3
Getting to Know Share Point 4
Defining Share Point by Function 5
Defining Share Point by User 5
Introducing the User Interface 6
Introducing the Structure 8
Addressing the Needs of the Developer 9
Extending Share Point 2013 10
Breaking It Down for Developers 12
Share Point 2013: The Platform 15
Share Point Installation Types 16
Share Point 2013 Capabilities 18
Site Collections and Sites 20
Share Point 2013 APIs 24
Share Point Central Administration 26
Application Management 27
Monitoring 28
Security 28
General Application Settings 28
System Settings 28
Backup and Restore 29
Upgrade and Migration 29
Configuration Wizard 29
Apps 29
Summary 29
Recommended Reading 31
CHAPTER 2: OVERVIEW OF THE SHAREPOINT 2013 APP MODEL 33
Share Point 2013 App Model 33
Apps for Office 34
Apps for Share Point 35
Moving to the Cloud 37
Understanding the Three Apps for Share Point Deployment Models 38
Share Point-Hosted 38
Autohosted 44
Provider-Hosted 49
Summary 52
Recommended Reading 53
CHAPTER 3: DEVELOPER TOOLING FOR SHAREPOINT 2013 55
Share Point Development Across Developer Segments 56
Web-Based Development in Share Point 57
Site Settings 58
Developing Share Point Applications Using Share Point Designer 65
Developing Share Point Applications Using Napa 69
Developing Share Point Applications Using Visual Studio 2012 74
Other Tools for Share Point Development 82
Developing with Expression Blend 83
Debugging Using Fiddler 85
Summary 85
Recommended Reading 87
CHAPTER 4: UNDERSTANDING YOUR DEVELOPMENT OPTIONS 89
Application and Solution Types 90
Common Developer Tasks 93
Creating Web Parts 93
Creating Share Point-Hosted Apps 101
Working with Share Point Data 106
Creating Cloud-hosted Apps 109
Creating Event Receivers 109
Creating ASPX Pages 112
Creating Master Pages 114
Summary 116
Recommended Reading 117
CHAPTER 5: OVERVIEW OF WINDOWS AZURE FOR SHAREPOINT 119
Defining the Cloud 120
Defining Windows Azure 121
Windows Azure Platform 122
Data Layer 123
Services Layer 123
Integration Layer 123
Developing Windows Azure Applications 124
Share Point and Windows Azure 133
Understanding Share Point Cloud-Hosted Apps and Windows Azure 134
Creating a Simple Autohosted Share Point App 136
Summary 146
Recommended Reading 147
PART II: FUNDAMENTAL SHAREPOINT 2013 DEVELOPMENT BUILDING BLOCKS
CHAPTER 6: DEVELOPING, INTEGRATING, AND BUILDING APPLICATIONS IN SHAREPOINT 2013 151
Development Models Available in Share Point 2013 152
Application Integration Options in Share Point 2013 153
User Interface Integration 154
Events and Logic Integration 166
Data Integration 168
Summary 171
Recommended Reading 173
CHAPTER 7: PACKAGING AND DEPLOYING SHAREPOINT 2013 APPS 175
Anatomy of an App 176
Manifest and Assets 178
Share Point Solution Package 179
Web Deploy Package 180
Database Package 181
Packaging and Publishing an App 182
Packaging an App 182
Private Publishing in an App Catalog 183
Deploying an App 184
Share Point-Hosted App Deployment 185
Provider-Hosted App Deployment 188
Autohosted App Deployment 196
Summary 199
Recommended Reading 200
CHAPTER 8: DISTRIBUTING SHAREPOINT 2013 APPS 201
Publishing Apps in the Share Point Store 203
Creating a Client ID and Secret 204
Pricing and Licensing Apps 206
Submitting Apps 208
Getting Apps Validated 211
Application Life Cycle 212
Using Seller Dashboard Metrics 213
Upgrading Apps 214
Summary 216
Recommended Reading 217
CHAPTER 9: OVERVIEW OF THE CLIENT-SIDE OBJECT MODEL AND REST APIS 219
Introducing Remote APIs in Share Point 2013 220
Client-Side Object Model (CSOM) Basics 221
Managed Code (.NET) 222
Setup 223
Querying 224
Java Script 228
Setup 229
Querying 230
Security and Cross-Domain Calls 236
Windows Phone 237
Setup 238
Querying 239
REST and OData 241
Getting Started with REST and OData 242
Filtering and Selecting 244
Creating, Updating, and Deleting 246
Client-Side Object Model API Coverage 250
Summary 252
Recommended Reading 253
CHAPTER 10: OVERVIEW OF OAUTH IN SHAREPOINT 2013 255
Introduction to OAuth 256
OAuth in Share Point 2013 257
Creating and Managing Application Identities 258
Application Authentication 263
App and User Context in API Calls 266
Managing Tokens in Your Application 266
Application Authorization 269
Requesting Permissions Dynamically 271
App-Only Policy 271
On-Premises App Authentication with S2S 272
Summary 275
Recommended Reading 276
PART III: ADVANCED DEVELOPER TOPICS IN SHAREPOINT 2013
CHAPTER 11: DEVELOPING INTEGRATED APPS
FOR OFFICE AND SHAREPOINT SOLUTIONS 279
The New App Model for Office 280
The Office Java Script Object Model 286
Document-based Apps 286
Functional Capabilities by Office Client 291
Mailbox-based Apps 292
App Security 297
Integrating Apps for Office with Share Point 298
Standalone Apps for Office 299
Apps for Office Integrated with an App for Share Point 300
Summary 305
Recommended Reading 306
CHAPTER 12: REMOTE EVENT RECEIVERS IN SHAREPOINT 2013 307
Introducing Remote Event Receivers 308
App-level Life-cycle Remote Event Receivers 318
Summary 319
Recommended Reading 320
CHAPTER 13: BUILDING LINE-OF-BUSINESS SOLUTIONS USING BUSINESS CONNECTIVITY SERVICES 321
Business Connectivity Services in Share Point 2013 322
BCS in Apps for Share Point 328
Building a BCS-enabled Business Solution 332
Summary 339
Recommended Reading 341
CHAPTER 14: DEVELOPING APPLICATIONS USING OFFICE SERVICES 343
WOPI and the New Offi ce Web Apps Server 344
What’s New in Excel Services 348
Word Automation Services and the New Power Point Automation Services 355
The New Machine Translation Services 359
What’s New in Access Services 362
Summary 366
Recommended Reading 368
CHAPTER 15: DEVELOPING WORKFLOW APPLICATIONS FOR SHAREPOINT 2013 369
Introducing Workfl ow Manager 370
The Big New Features for Share Point Designer 371
Visio Professional, Share Point Designer, and Workflow 372
Workflow and Visual Studio 383
Workflow in Apps for Share Point 390
Summary 397
Recommended Reading 398
APPENDIX A: ANSWERS TO EXERCISES 399
INDEX 407
Despre autor
Steve Fox is a director in Microsoft Consulting Services (MCS) at Microsoft. He presents and keynotes at conferences globally and publishes regularly in MSDN Magazine.
Chris Johnson is a general manager at Provoke Solutions Seattle. Previously, he worked for Microsoft for nearly 10 years.
Donovan Follette is a senior technical evangelist with Microsoft. Wrox Beginning guides are crafted to make learning programming languages and technologies easier than you think, providing a structured, tutorial format that guides you through all the techniques involved.