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?
A: I've disabled all firewall and anti virus, no change. the console and the asp.net runs on the same copmuter(my pc). I've created 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.
Q: how big is the file that you're trying to download?
A: 1mb(at most)
Q: how are you determining which line is hanging? Did you step through with the debugger?
A: Yes, i 've debugged the code the line which the code is hanged is: using (var response = await dbx.Files.DownloadAsync( "/" + folder + "/" + file))