Robin
Robin

Reputation: 2339

Synchronous file download using WCF

I have a WCF REST based service which downloads and stores video files in the web server machine. The maximum size of video files is around 1MB and the download is asynchronous at present.

Is it possible to use synchronous download and will a timeout occur if large number or requests are submitted almost simultaneously? If so is there a mechanism to handle the situation?

Upvotes: 1

Views: 184

Answers (1)

Trey Combs
Trey Combs

Reputation: 710

You could set up your service to act as a singleton. WCF will handle the queueing of multiple calls. A similar question can be found here, and may be of help.

Upvotes: 1

Related Questions