Downloading a file via HTTP post and HTTP get in C#

Previously, I had written two posts on how to upload files to a web server, one for the case when the size of the HTTP request is small, and the other for the case when the size of the HTTP request is large. How about the downloading of files from a web server? In this post, I shall discuss how to download files from a HTTP server via the System.Net.HttpWebRequest class.

100 things every designer needs to know about people

Although a 100 things seem a lot to read and learn, this 200 plus page book is definitely an easy read. “100 things every designer needs to know about people” contains nicely structured paragraphs and ample images to convey psychological concepts on human behaviour. In fact, this book itself is actually designed with these concepts in mind!

Managed to finish this book while commuting, waiting and putting myself out of programming loops for a while.

Shall post my thoughts about this book in this post. 🙂

Uploading large HTTP multipart request with System.Net.HttpWebRequest in C#

My previous post described a method of sending a file and some data via HTTP multipart post by constructing the HTTP request with the System.IO.MemoryStream class before writing the contents to the System.Net.HttpWebRequest class. This method of sending our HTTP request will work only if we can restrict the total size of our file and data.