Recursive Children Re-hydration with FrameLog

Yong Wen Chua wrote “FrameLog is an open source library we have written to track changes for objects in EntityFramework. One of its nicest features is that it allows you to “replay” history and recreate objects as they were at a certain point in time. One of the limitations of this process currently is that FrameLog does not rehydrate…”

Santeri Viinamäki [CC-BY-3.0 (], via Wikimedia Commons

Recursive ObjectContext Detaching in Entity Framework

Yong Wen Chua wrote “Entity Framework (EF) is an ORM framework often used with applications, such as on Daylight. Object states in EF are tracked by the ObjectStateManager part of its ObjectContext. Whenever you modify, create, or delete any Entities, ObjectStateManager will keep track of it so that when you decide to Save your Entities to your database,…”

By mark sebastian (Flickr: Macro (#50542)) [CC BY-SA 2.0 (], via Wikimedia Commons

Building a ReactiveUi

Yong Wen Chua wrote “I’d be one of the first few to admit that I am horrible at making UIs. My rather positive experience with working with Knockout made me wonder one day if there was an equivalent in the .NET world where I could piece together a quick application with an actual UI, while wiring up the display…”

By mark sebastian (Flickr: Macro (#50542)) [CC BY-SA 2.0 (], via Wikimedia Commons

Asynchronous interaction between a Windows Forms WebBrowser control and the hosted web page

Yong Wen Chua wrote “The System.Windows.Forms.WebBrowser control allows one to host a web browser inside a .NET application (the “hosting application”). The control exposes the ObjectForScripting property which allows an object on your application to be accessed by the web page hosted in the WebBrowser control through the Javascript window.external object. Invoking code on the hosted web page from…”

Application-level change logging with EntityFramework

Martin Eden wrote “We have been developing Daylight, which is a records management system for Freedom from Torture, a charity dedicated to the treatment and rehabilitation of survivors of torture. Due to the sensitive nature of the data being recorded, Freedom from Torture wanted a way of tracking every change that was made to records. The application uses…”

Enums: not always the right tool

Frank Shearar wrote “Enums are a way of encoding a set of ordinal values in a type system. That is, they formalise the notion that a value may be one of a small set of specific values. We’ve had them since at least the 1970s. They’re really useful. So why might they not always be the right tool?”

Downloading files with WebDriver

Martin Eden wrote “We have been using WebDriver (/Selenium) for doing functional testing of web applications. I have personally been involved in using WebDriver on .NET to automate testing of several .NET web applications. But in my spare time, I’ve discovered another use for WebDriver, which is automating interactions with websites.”

ASP.Net MVC 2: mocking your HTTP layer

Frank Shearar wrote “We recently started a project using Microsoft’s ASP.NET MVC 2 framework. Since I’m pretty big on test driven development, I immediately wanted to start unit testing the controllers. It turns out that it’s a bit harder than I thought: in production, MVC does a whole bunch of stuff before execution ever reaches your controllers. And if you naively just start…”