Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SharePoint Development with the SharePoint Framework

You're reading from   SharePoint Development with the SharePoint Framework Design and implement state-of-the-art customizations for SharePoint

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787121430
Length 386 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Jussi Roine Jussi Roine
Author Profile Icon Jussi Roine
Jussi Roine
Olli Jääskeläinen Olli Jääskeläinen
Author Profile Icon Olli Jääskeläinen
Olli Jääskeläinen
Arrow right icon
View More author details
Toc

Table of Contents (14) Chapters Close

Preface 1. Introducing SharePoint Online for Developers FREE CHAPTER 2. Developing Solutions for SharePoint 3. Getting Started with the SharePoint Framework 4. Building Your First Web Part 5. Using Visual Studio Code and Other Editors 6. Packaging and Deploying Solutions 7. Working with SharePoint Content 8. Working with the Web Part Property Pane 9. Using React and Office UI Fabric React Components 10. Working with Other JavaScript Frameworks 11. Troubleshooting and Debugging SharePoint Framework Solutions 12. SharePoint APIs and Microsoft Graph 13. The Future of SharePoint Customizations

Accessing SharePoint Online with CSOM using a console app

Before we construct our calls directly to the REST APIs SharePoint exposes, let's do a quick exercise using the traditional CSOM approach. This is part of the SDK, and depending on your usage, it will access SharePoint through the SOAP-based Web Services, such as sites.asmx that resides in /_vti_bin/sites.asmx.

Let's try creating a simple console application first to see how things were working until now:

  1. Open Visual Studio 2015/2017 and create a new project from File | New | Project...:
  1. Select a Console App from the list of available templates, as follows:
  1. Name the app as you like, and click OK.
  2. If you choose C# as the programming language, a Program.cs open with a skeleton class. You'll need to get the SharePoint Online Client Components SDK first; to do it, click on Tools |NuGet Package Manager | Package Manager Console:
  1. The Package Manager Console opens in a separate window; by default, it opens in...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime