Thomas Levesque 1/14/2014

Tackling timeout issues when uploading large files with HttpWebRequest

Read Original

This technical article addresses the common problem of timeout failures when uploading large files via HttpWebRequest in .NET. It explains why the default timeout property is insufficient and proposes a solution using asynchronous methods (BeginGetRequestStream/BeginGetResponse) wrapped in synchronous extensions to allow fine-grained control over different phases of the HTTP upload.

Tackling timeout issues when uploading large files with HttpWebRequest

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week