I have strange problem with my API calls.
I'm writing WPF application with usage of RestSharp
. All my calls to API uses RestSharp.
I have a Photos module, which downloads only urls of photos. From that URLs I'm creating BitmapSource objects.
I have a strange problem that all of API calls during loading of photos get timeout.
It's hot I'm creating BitmapSource objects:
Image = new BitmapImage(new Uri(url));
I have binded collection of Images to ItemsControl
with Image
control inside.
Have you ever got similar problems? Is that because of BitmapSource or RestSharp?
To fullfill the question: We're using Node.js + Sails.js on server side.