0
votes

What is the best way now (and in the near future) to list, upload and download files in a document library in Office 365 Sharepoint? I'm looking for .NET SDK's.

There doesn't seem to be much support documentation available that targets this topic.

There is the OneDrive SDK, the Office 365 Sharepoint SDK and the Graph API, but I can't find good examples. I prefer to make use of SDK's rather than than plain REST calls because I want to make use of the ADAL libraries in .NET for authenticating agains Azure Active Directory.

Any advice or pointing in the right direction would be appreciated.

1

1 Answers

0
votes

OneDrive SDK for C#.

I've just done SharePoint site item listing and file upload using the OneDrive SDK for Python, and there is a OneDrive SDK for C#, which should cover the same functionality. Just make sure to correctly use the service discovery, and select the SharePoint RootSite service.

You can read more about my adventures achieving this (including some gotchas) here.