[]
To configure Dropbox Web API Service and perform different operations, follow these steps:
Create a DropBox Application to make API requests. For creating the Dropbox app, see Dropbox Developers Apps.
Obtain an access token. For detailed information on how to obtain access token, see Obtaining an access token.
Create a new C1 Web API Application and make sure the following references are added to the application:
C1.Web.Api.dll
C1.Web.Api.Cloud.dll
Dropbox.Api.dll
Add StorageProvider in Startup.cs file for registering the Dropbox cloud service using the following code:
app.UseStorageProviders().AddDropBoxStorage("DropBox", “Dropbox App access token”, “Your application name”);
You can choose to perform various operations, such as listing data, uploading, deleting or downloading a file, after registering the cloud service. To understand how to perform these operations, see Perform Operations.