This demo illustrates how to use the OneDrive file system provider (OneDriveFileSystemProvider) to connect the DevExpress ASP.NET MVC FileManager (FileManager) to OneDrive.
Use the following APIs to connect the file manager to OneDrive:
- Specify the ProviderType property as "OneDrive".
- Specify the FileManagerOneDriveProviderSettings.AccountName property.
- Use the AccountManager.RegisterOneDrive method to register the OneDrive account in the global.asax file.
In this demo, the RequestEvent event allows you to trace request to the OneDrive Azure Active Directory application account in an event monitor.
Local Copy of this Demo
To inspect the source code for this demo on your machine, you must first install our components via the DevExpress Component Installer.
You can open a local copy of this online demo directly from this webpage (if using v20.2.8, 21.1.4 or higher).
The source code files for this demo are installed (by default) in the following directory:
Open CS Solution
\Users\Public\Documents\DevExpress Demos XX.X\Components\ASP.NET\CS\MVCxFileManagerAndUploadDemos