This is part 3 of the sequel to “How to build a web based user interaction layer in C#“. In this post, I will discuss how to send a HTTP response back to the client.
This is part 4 of the sequel to “How to build a web based user interaction layer in C#“. In this post, I will describe a mechanism that we can use to locate resources to process HTTP requests in C#.
I first heard of the marshmallow experiment from my vice principal back in my secondary school days in Montfort. Recently, I came upon that same experiment when I read 100 things every designer needs to know about people.
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.
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. 🙂
Chanced upon this 14 minute video where Joshua Blotch talked about his take on the design on Java. All Java people should watch it. 🙂
As with many around the world, I am saddened about Steve Jobs’s passing. For a person who impacted the lives of many, including mine, I felt that I should pay my tribute to him through my blog.
This quote by Albert Einstein was the most shared item in my facebook updates in this week. Apart from seeing this post from Mia Davies in facebook, my CEO also mass-mailed this message, contained in a separate image. I guess this coincidence deserved some reflections on my part.
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.