Hi, I'm Ray

I'm a software developer, full-time nerd and occasional human (while heavily caffeinated).

Articles + Posts (Year: 2018)

  • 04 Mar, 2018
  • Using Episerver CMS as a makeshift API – Part 2, Stopping at the beginning
  • In part 1, I briefly explained how I came to work on writing an API for an Episerver CMS by exploiting the front-end framework on the web interface. As a developer, with a finite life-span, I jumped straight to the part that I needed for the job. I had intended to go back to the beginning and map all the functionality. Unfortunately I haven't had very much time to spend on this. Together with an amount of uncertainty of my future with Episerver, I'm shelving this. My day job is with Episerver and it's always possible that this API will get reignited by some requirements later. I hope this has been helpful to someone.
  • 01 Jan, 2018
  • C#: Using HttpWebRequest to interact with websites
  • In this article I'm going to show the usage of the HttpWebRequest and HttpWebResponse classes and how you can use it to interact with websites. I'm going to be focusing on retrieving text responses (or the source code of a web pages) and not binary files. I'm also not going to be mentioning WebClient or HttpClient, they may be an article for another time. At the end of the article I'm sharing a helper class.

Copyright © 2014-2019 Ray Lam. All Rights Reserved.