Comments
-
No problem. I tried that and now it is working good. Thank you so much for help.
-
Yes, that's true. But for that I need to make Page_load method "async". Is that a good thing ? Because I am not aware with what will happen if I add async to Page_Load.
-
Thank you so much for the help. Using await and removing result worked for me. try { await client.Files.GetMetadataAsync(path); } catch (ApiException<Dropbox.Api.Files.GetMetadataError> e) { if (e.ErrorResponse.IsPath && e.ErrorResponse.AsPath.Value.IsNotFound) { Console.WriteLine("Nothing found at path."); } else { //…
-
Didn't get much about SvaeUrlAsync but I used this and it worked perfectly. List<Images> fiveElements = Images.GetRange(0, 5); foreach (var image in fiveElements) { WebClient webclient = new WebClient(); var stream = new MemoryStream(webclient.DownloadData(image.ImageURL)); var fileName = "Test1.jpg"; var response = await…
-
Thank you @Greg K. for the help. That's really quick. As I am new to this coding stuff, it would be good if I have example for FilesUserRoutes.SaveUrlAsync Method which explains in detail. And does the try block is good ? because I tired your catch block and it thows me out of the method and goes into catch(Exception e) of…
-
That's so great of you. Thank you so much.
-
Can I have much brief description of the solution and also example related to it if possible. Thanks.