Skip to content
Repository for community samples in OneDrive GitHub organization.
Branch: master
Clone or download
PaoloPia Merge pull request #4 from OneDrive/dev
Master merge of OneDrive demos
Latest commit 4020634 Jun 27, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Adding github templates etc. Jun 10, 2019
samples Updated readme.md with of Aspnetcore-Changed-Files Jun 26, 2019
.gitignore Initial commit Oct 25, 2018
LICENSE Initial commit Oct 25, 2018
README.md

README.md

OneDrive Community Samples

This is the main repository for the community samples about leveraging Microsoft OneDrive and Microsoft SharePoint content (files and folders).

We do welcome community contributions to the samples folder in this repository for demonstrating different use cases targeted on OneDrive development topics. You sample can demonstrate capabilities on the File Pickers, File Handlers or Files and Folders Microsoft Graph APIs.

Available Samples

Here you can find the list of samples available in this repository.

Sample Description Technology/Platform
aspnet-core-changed-files-delta Sample to learn how to use the delta changes functionality of OneDrive and/or SharePoint Online in Microsoft Graph ASP.NET Core
aspnet-file-handler Sample to see how to implement a custom file handler for OneDrive and/or SharePoint Online ASP.NET
dotnet-core-file-picker Sample to learn how to create a custom file picker for OneDrive and/or SharePoint Online .NET Core
spfx-file-picker Sample to learn how to create a custom file picker within a SharePoint Framework web part SharePoint Framework
spfx-recent-files Sample about how to use the Microsoft Graph to query OneDrive and/or SharePoint Online SharePoint Framework
uwp-files-explorer Sample to learn how to build a Universal Windows Platform applicaiton to consume OneDrive and/or SharePoint Online UWP

Using the Samples

To build and start using these projects, you'll need to clone and build the projects.

Clone this repository by executing the following command in your console:

git clone https://github.com/OneDrive/onedrive-community-samples.git

Navigate to the cloned repository folder which should be the same as the repository name:

cd onedrive-community-samples

To access the samples use the following command, where you replace sample-folder-name with the name of the sample you want to access.

cd samples
cd sample-folder-name

Follow the instructions within each sample's README.md for how to get the sample working. This repository contains many different types of projects & technologies as well as pre-requisites so each could have a different process to get working.

Contributions

This repository welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Sharing is caring!

You can’t perform that action at this time.