Connecting to SharePoint:
Web Services Abstraction
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.