SPHttpClients vs AadHttpClient vs MsGrpahclient #8779
Unanswered
mvcsharepointdev
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When developing SPFx we are left with many technologies to be used. mainly i am trying to understand when to use each
SPHttpClients vs AadHttpClient vs MsGrpahclient
now i know the SPHttpClient can be used to integrate with SharePoint but since it uses SharePoint REST API so it is considered as legacy approach, since Microsoft is not adding any new features to SharePoint rest api and it is replacing it by graph api.
so i have these 2 questions:-
If we want to perform CRUD operations to SharePoint lists using non-legacy approach, which class we need to use?
also if we want to integrate with Graph which class we need to use AadHttpClient vs MsGrpahclient? and why.
Thanks
Beta Was this translation helpful? Give feedback.
All reactions