BIT.XAF.CloudFileData.Dropbox 1.0.0

An implementation of IFileData to store the attachments in DropBox

Install-Package BIT.XAF.CloudFileData.Dropbox -Version 1.0.0
dotnet add package BIT.XAF.CloudFileData.Dropbox --version 1.0.0
<PackageReference Include="BIT.XAF.CloudFileData.Dropbox" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BIT.XAF.CloudFileData.Dropbox --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

To get the authorization token use the following command

BitFwks.DropBoxAuthGenerator.exe YourApiKey

Once you have the authorization token you need to add some parameters on the app/web.config as shown below

<appSettings>
<!-- ... -->
<add key="DropBoxFileDataDefaultFolder" value="NameOfMyFolderOnDropBox"/>
<add key="DropboxAccessToken" value="MyDropboxAccessToken"/>
<!-- ... -->
</appSettings>

Now you can declare a DropBoxFileData as any other persistent property

    DropBoxFileData attachment;
    public DropBoxFileData Attachment
    {
        get => attachment;
        set => SetPropertyValue(nameof(Attachment), ref attachment, value);
    }

To get the authorization token use the following command

BitFwks.DropBoxAuthGenerator.exe YourApiKey

Once you have the authorization token you need to add some parameters on the app/web.config as shown below

<appSettings>
<!-- ... -->
<add key="DropBoxFileDataDefaultFolder" value="NameOfMyFolderOnDropBox"/>
<add key="DropboxAccessToken" value="MyDropboxAccessToken"/>
<!-- ... -->
</appSettings>

Now you can declare a DropBoxFileData as any other persistent property

    DropBoxFileData attachment;
    public DropBoxFileData Attachment
    {
        get => attachment;
        set => SetPropertyValue(nameof(Attachment), ref attachment, value);
    }

Release Notes

First public release

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 200 7/25/2018