gd-sprest
4.1.8
See the version list below for details.
dotnet add package gd-sprest --version 4.1.8
NuGet\Install-Package gd-sprest -Version 4.1.8
<PackageReference Include="gd-sprest" Version="4.1.8" />
paket add gd-sprest --version 4.1.8
#r "nuget: gd-sprest, 4.1.8"
// Install gd-sprest as a Cake Addin #addin nuget:?package=gd-sprest&version=4.1.8 // Install gd-sprest as a Cake Tool #tool nuget:?package=gd-sprest&version=4.1.8
Overview:
The SharePoint REST Framework was designed for SharePoint 2013, but works in both SharePoint 2013/Online (Classic/Modern). This framework is designed to remove a lot of the overhead required for SharePoint development, allowing the developer to focus on the client requirements.
References
- SharePoint 2013 Modern WebPart - A series of blog posts for creating SharePoint 2013 modern webparts using:
- JavaScript (No Build)
- TypeScript
- React
- VueJS
- Angular
- gd-sprest - An easy way to execute requests against the SharePoint 2013/Online REST api
- gd-sprest-js - Extends the Office Fabric JavaScript Framework with components designed for SharePoint 2013/Online.
- gd-sprest-react - Extends the Office Fabric React Framework with components designed for SharePoint 2013/Online.
- gd-sprest-webparts - SharePoint 2013 modern react webpart examples.
gd-sprest vs @pnp/sp
The gd-sprest library is similar to the @pnp/sp library, with the main difference being the ability to be used within the browser console window. This feature provides a "Powershell-Like" experience within the browser console window. This feature was designed for developers working in restricted SharePoint environments, and do not have access to the server or powershell access. Some additional benefits of the library are listed below:
- Designed to work in restricted SharePoint environments with limited access to the SharePoint Farm, Web App, Site Collection, Root Web, etc.
- No powershell or admin access to the server
- Ability to create reusable scripts/solutions
- Intellisense has been designed to minimize the need to specify the variable types
- Ability to execute live requests from the browser console, helps to debug issues in production
Bugs/Feature Requests/Help
Click Here to report any bugs, request any new features or if need help with code examples. Pull requests are welcomed for anyone interested in submitting them. Feel free to email for other questions.
Features
Caching
The library has been designed to create the SharePoint object based on the response from the SharePoint REST API. This will allow us to easily stringify the request's target information and the SharePoint REST API's response to the local or storage session. A built-in stringify method is available in each SharePoint object. The "Helper" class contains a parse method, which must be used to re-create the SharePoint object.
Intellisense
One of the more important features of this framework is the intellisense. The classes have been setup to ensure the developer does not need to define the output type of the request. The "Types" and "SPTypes" classes can both be imported into the project. The "Types" class includes allows of the interfaces available in the library. The "SPTypes" class contains all of the enumerators in SharePoint. These interfaces can be used to provide intellisense for the custom variables.
Server-Side to Client-Side Conversion Guide
The execution method was designed to give a server-side like experience, similar to SharePoint 2010/2013 solutions. This will help convert existing server-side solutions to client-side solutions.
Helpers
The library contains various helpers to help with the various ways to develop against SharePoint 2013/Online
Modern Experience in SharePoint 2013
One of the key reasons of creating this libray, was to give an easy way to develop using the modern web stack in SharePoint 2013 environments.
Office Fabric UI React Framework
The gd-sprest-react library contains various components utilizing the Office Fabric UI React Framework.
User Adoption
Since these components are designed using same framework creating the new Office 365 modern experience, this gives the ability to introduce the new Office 365 experience within SharePoint 2013. This will be an important part for the SharePoint 2013 user adoption to the new modern experience. Most SharePoint 2010/2013 environments are undergoing upgrades to 2016, Hybrid 2016/O365, O365 and private O365-Gov environments.
Automation of SharePoint Assets
The SharePoint Configuration automation feature allows the develoepr to easily create built-in scripts to install/uninstall SharePoint assets. This feature is designed to work in both SharePoint 2013 and Online.
SharePoint React Components
The gd-sprest-react library contains various components designed to work in SharePoint 2013/Online.
Upgrade Path to SharePoint Framework SPFx
The javascript, typescript, react/angular/react/etc solutions developed for SharePoint 2013 can easily be migrated/copied to a SharePoint Framework (SPFx) modern solution. A blog series is available for creating an Add-In for SharePoint 2013/Online using the Office Fabric-UI React framework, including converting it to a SPFX WebPart.
SPFX Project
Refer to the documentation for steps on configuring this library in a SPFX project.
Security
The REST api execute requests based on the user's permissions. There is no way to elevate priviledges requests against the SharePoint REST.
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.5
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.4.9 | 542 | 6/24/2021 |
6.4.7 | 372 | 5/12/2021 |
6.3.4 | 356 | 2/14/2021 |
6.2.5 | 500 | 12/19/2020 |
6.1.4 | 450 | 10/16/2020 |
6.1.2 | 445 | 10/7/2020 |
6.1.0 | 484 | 9/28/2020 |
6.0.9 | 447 | 9/26/2020 |
6.0.2 | 449 | 8/5/2020 |
6.0.0 | 458 | 7/29/2020 |
5.9.8 | 452 | 7/24/2020 |
5.9.6 | 544 | 7/23/2020 |
5.9.3 | 451 | 7/22/2020 |
5.9.2 | 516 | 7/22/2020 |
5.9.0 | 496 | 7/14/2020 |
5.8.4 | 546 | 7/3/2020 |
5.8.2 | 462 | 6/17/2020 |
5.7.5 | 565 | 5/31/2020 |
5.7.3 | 547 | 5/28/2020 |
5.6.9 | 468 | 5/18/2020 |
5.6.6 | 500 | 5/15/2020 |
5.5.8 | 468 | 5/5/2020 |
5.5.6 | 514 | 5/1/2020 |
5.5.4 | 527 | 4/29/2020 |
5.5.3 | 474 | 4/25/2020 |
5.5.0 | 514 | 4/21/2020 |
5.4.5 | 607 | 4/12/2020 |
5.4.0 | 546 | 4/8/2020 |
5.3.8 | 601 | 4/4/2020 |
5.3.7 | 509 | 3/27/2020 |
5.3.6 | 548 | 3/26/2020 |
5.3.5 | 527 | 3/25/2020 |
5.3.4 | 516 | 3/25/2020 |
5.3.3 | 561 | 3/24/2020 |
5.3.2 | 533 | 3/24/2020 |
5.3.1 | 639 | 3/22/2020 |
5.2.7 | 540 | 3/22/2020 |
5.2.6 | 633 | 2/27/2020 |
5.2.3 | 551 | 2/11/2020 |
5.2.2 | 519 | 2/10/2020 |
5.2.1 | 560 | 1/28/2020 |
5.1.9 | 692 | 1/25/2020 |
5.1.3 | 602 | 12/16/2019 |
5.0.8 | 537 | 11/24/2019 |
5.0.6 | 549 | 11/19/2019 |
5.0.5 | 534 | 11/17/2019 |
4.9.9 | 570 | 9/21/2019 |
4.9.2 | 613 | 8/25/2019 |
4.9.1 | 585 | 8/23/2019 |
4.9.0 | 582 | 8/21/2019 |
4.8.9 | 560 | 8/20/2019 |
4.8.7 | 623 | 6/14/2019 |
4.8.5 | 616 | 6/11/2019 |
4.8.2 | 695 | 4/22/2019 |
4.8.1 | 664 | 4/21/2019 |
4.7.9 | 617 | 4/18/2019 |
4.7.5 | 607 | 3/3/2019 |
4.7.4 | 611 | 3/2/2019 |
4.6.8 | 676 | 2/19/2019 |
4.6.4 | 715 | 2/7/2019 |
4.5.3 | 705 | 1/27/2019 |
4.5.2 | 712 | 1/21/2019 |
4.4.8 | 738 | 1/20/2019 |
4.4.6 | 782 | 1/20/2019 |
4.4.3 | 757 | 12/13/2018 |
4.4.2 | 768 | 12/12/2018 |
4.3.8 | 756 | 12/1/2018 |
4.3.7 | 721 | 11/11/2018 |
4.3.4 | 741 | 10/25/2018 |
4.2.7 | 799 | 9/26/2018 |
4.1.8 | 884 | 8/14/2018 |
4.1.6 | 882 | 7/23/2018 |
4.1.5 | 968 | 7/19/2018 |
4.1.4 | 985 | 7/17/2018 |
4.1.3 | 864 | 7/17/2018 |
4.1.2 | 971 | 7/13/2018 |
4.0.4 | 967 | 6/20/2018 |
3.9.1 | 1,044 | 4/29/2018 |
3.8.9 | 972 | 4/23/2018 |
3.8.6 | 982 | 4/18/2018 |
3.7.7 | 1,021 | 4/2/2018 |
3.6.4 | 1,001 | 3/17/2018 |
3.6.2 | 1,048 | 3/16/2018 |
3.6.0 | 949 | 3/15/2018 |
3.5.5 | 1,056 | 3/9/2018 |
3.5.3 | 1,023 | 3/8/2018 |
3.4.8 | 1,024 | 2/13/2018 |
3.4.1 | 995 | 2/7/2018 |
3.3.3 | 1,005 | 2/4/2018 |
3.2.3 | 910 | 1/28/2018 |
3.2.0 | 1,126 | 1/25/2018 |
2.5.9 | 1,126 | 1/10/2018 |
2.3.0 | 1,126 | 12/8/2017 |
2.2.8 | 987 | 12/2/2017 |
2.2.5 | 1,300 | 11/19/2017 |
2.2.4 | 1,276 | 11/5/2017 |
0.0.3 | 1,326 | 11/5/2017 |
0.0.2 | 1,361 | 11/5/2017 |
0.0.1 | 1,035 | 11/5/2017 |