<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dropbox &amp;amp; ASP.NET integration in Discuss Dropbox Developer &amp; API</title>
    <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/386579#M929</link>
    <description>&lt;P&gt;Thanks for those answers. We'll need to troubleshoot this further.&lt;/P&gt;
&lt;P&gt;If you pause execution while the program is hung and "step into" the "DownloadAsync" line, where in the Dropbox SDK exactly is it hung?&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2019 16:08:02 GMT</pubDate>
    <dc:creator>Greg-DB</dc:creator>
    <dc:date>2019-12-30T16:08:02Z</dc:date>
    <item>
      <title>Dropbox &amp; ASP.NET integration</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385248#M913</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I'm using&amp;nbsp; dropbox.api for c#&amp;nbsp;for downloading files.&lt;/P&gt;
&lt;P&gt;in the console project it works perfectly but in the ASP.NET (for now localhost server)&lt;/P&gt;
&lt;P&gt;is get stuck in dbx.Files,DownloadAsync Method.&lt;/P&gt;
&lt;P&gt;here's the code(very simple):&lt;/P&gt;
&lt;PRE&gt;private async Task _Download(string folder, string file, string destination)
        {
            using (var response = await dbx.Files.DownloadAsync( "/"  + folder + "/" + file))
            {
                using (var fileStream = File.Create(destination))
                {
                    (await response.GetContentAsStreamAsync()).CopyTo(fileStream);
                }               
            }
        }&lt;/PRE&gt;
&lt;P&gt;As i&amp;nbsp; said, it works in Console Project but not in ASP.NET project&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 19:48:44 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385248#M913</guid>
      <dc:creator>JoeShoshana</dc:creator>
      <dc:date>2019-12-26T19:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox &amp; ASP.NET integration</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385258#M914</link>
      <description>&lt;P&gt;Can you clarify what you mean when you say "is get stuck in dbx.Files,DownloadAsync Method"?&lt;/P&gt;
&lt;P&gt;Are you getting any error or output?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Dec 2019 16:11:18 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385258#M914</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-19T16:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox &amp; ASP.NET integration</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385621#M915</link>
      <description>&lt;P&gt;I'm not getting any error nor output&lt;/P&gt;&lt;P&gt;the program stop responding in the line: using (var response = await dbx.Files.DownloadAsync( "/"&amp;nbsp; + folder + "/" + file)) with no excpetion being thrown&lt;/P&gt;&lt;P&gt;in app console it works great but in ASP.NET it get stuck&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 22 Dec 2019 06:43:49 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385621#M915</guid>
      <dc:creator>JoeShoshana</dc:creator>
      <dc:date>2019-12-22T06:43:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox &amp; ASP.NET integration</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385764#M916</link>
      <description>&lt;P&gt;Thanks for following up. There doesn't appear to be anything wrong in the code you posted, so there are a few things to check next:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;is there anything on your network connection, e.g., proxy, firewall, anti-virus, or other security software, that may be interfering with the connection?&lt;/LI&gt;
&lt;LI&gt;how big is the file that you're trying to download?&lt;/LI&gt;
&lt;LI&gt;how are you determining which line is hanging? Did you step through with the debugger?&lt;/LI&gt;
&lt;/UL&gt;</description>
      <pubDate>Mon, 23 Dec 2019 16:29:01 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/385764#M916</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-23T16:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox &amp; ASP.NET integration</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/386472#M926</link>
      <description>&lt;P&gt;Q: is there anything on your network connection, e.g., proxy, firewall, anti-virus, or other security software, that may be interfering with the connection?&lt;/P&gt;&lt;P&gt;A: I've disabled&amp;nbsp; all firewall and anti virus, no change. the console and the asp.net runs on the same copmuter(my pc). I've created&amp;nbsp;a library that uses the DropboxAPI, and i use this library in both console and ASP.NET, which ,as i said , int console it works and in asp.net it didn't.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Q: how big is the file that you're trying to download?&lt;/P&gt;&lt;P&gt;A: 1mb(at most)&lt;/P&gt;&lt;P&gt;Q: how are you determining which line is hanging? Did you step through with the debugger?&lt;/P&gt;&lt;P&gt;A: Yes, i 've debugged the code the line which the code is hanged is: using (var response = await dbx.Files.DownloadAsync( "/"&amp;nbsp; + folder + "/" + file))&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 06:20:17 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/386472#M926</guid>
      <dc:creator>JoeShoshana</dc:creator>
      <dc:date>2019-12-30T06:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Dropbox &amp; ASP.NET integration</title>
      <link>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/386579#M929</link>
      <description>&lt;P&gt;Thanks for those answers. We'll need to troubleshoot this further.&lt;/P&gt;
&lt;P&gt;If you pause execution while the program is hung and "step into" the "DownloadAsync" line, where in the Dropbox SDK exactly is it hung?&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 16:08:02 GMT</pubDate>
      <guid>https://www.dropboxforum.com/t5/Discuss-Dropbox-Developer-API/Dropbox-amp-ASP-NET-integration/m-p/386579#M929</guid>
      <dc:creator>Greg-DB</dc:creator>
      <dc:date>2019-12-30T16:08:02Z</dc:date>
    </item>
  </channel>
</rss>

