Web Services Abstraction — Introduction to SharePoint Framework

In this lesson, we’ll improve upon the work completed in the previous lesson by making our web part’s context more portable and far easier to use. We will create an entirely new abstracted service class that will handle all of the communication between SharePoint and our web part, as well as introduce much-needed features like error handling. Finally, we’ll extend the service class to include multiple SharePoint REST API endpoints and learn how to implement typed interface return types with local mock data.

Get to Know the SharePoint REST Service: https://docs.microsoft.com/en-us/sharepoint/dev/sp-add-ins/get-to-know-the-sharepoint-rest-service
SharePoint Search REST API: https://docs.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-search-rest-api-overview
Getting Started with OData: https://www.odata.org/getting-started/basic-tutorial/
Lesson Source Code: https://github.com/ispfx/dash/tree/bf3f9b13f88213b370db5a9485ce0f1b113201d3

Watch the full playlist: https://www.youtube.com/playlist?list=PLKqZ_AwOS0ODJyNmHkfb65cyKZogewLxp

Leave a Reply