You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.

Forum Discussion

Lukag's avatar
Lukag
Collaborator | Level 8
4 months ago

Integrate Dropbox in my web application ( asp.net )

Hello,

i'd like integrate my web application with dropbox. 

I use visual studio 2015 and asp.net . 

I'd like understand if i must install something or i can call API.

If it is possible I'd like also see some examples. 

Thank you.

Luca 

 

  • Greg-DB's avatar
    Greg-DB
    Icon for Dropbox Staff rankDropbox Staff

    Dropbox does offer an API you can use for listing, uploading, and downloading files, among other operations. You can find everything you need to get started with the Dropbox API, including documentation, tutorials, and SDKs here: https://www.dropbox.com/developers

     

    We recommend using an official SDK if possible, but it is not required. For instance, Dropbox does offer a .NET SDK in particular here: https://github.com/dropbox/dropbox-sdk-dotnet The SDK comes with examples here: https://github.com/dropbox/dropbox-sdk-dotnet/tree/main/dropbox-sdk-dotnet/Examples

     

    You can use that if it works for your scenario, but you can also call the HTTPS endpoints directly without it if you need to or would prefer to: https://www.dropbox.com/developers/documentation/http/documentation

     

    • Lukag's avatar
      Lukag
      Collaborator | Level 8

      I found Dropbox.Api  v.7.0.0 in Nuget Package but if i try to instal it i have an error : 

      Error Could not install package 'Dropbox.Api 7.0.0'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.2', but the package does not contain any assembly references or content files that are compatible with that framework. 

      which framework should I use? 

      • Greg-DB's avatar
        Greg-DB
        Icon for Dropbox Staff rankDropbox Staff

        If you use the official Dropbox .NET SDK, you should use the latest version of it, which is currently v7.0.0 as shown in your message. That supports .NET Standard 2.0, so please make sure you're using that in your environment.