Notes on software and the ideas behind it

Find the meaning
behind the code.

I’m Fred Yang. I write about software—how it works, why it behaves the way it does, and the ideas that make code easier to reason about.

Open the notebook

Working notes / 2026

Recently mapped

Architecture, reactivity, and the hidden relationships that shape frontend systems.

Entity Framework

EF JOIN

Zlatko Michailov, the Entity SQL program manager at Microsoft, writes in his blog: "A well defined query against a well defined entity data model does not need JOIN. Navigation properties in combination with nesting...
Follow the thread
Entity Framework

Entity Framework stack

The Entity Framework's most prominent feature set and that which you are likely to work with most often is referred to as Object Services. Object Services sits on top of the Entity Framework stack,...
Follow the thread
Unit Test

What is a good unit test

A unit test should have the following properties: It should be automated and repeatable. It should be easy to implement. Once it’s written, it should remain for future use. Anyone should be able to...
Follow the thread
asp.net

IRequiresSessionState

Be default, your page does not implement IRequireSessionState, so your page should not be able to access HttpContext.Current.Session. But why you can always use that it? It is because the asp.net compiler and code...
Follow the thread
clr

Reflection performance

int x = 10; Assembly a = Assembly.Load("mscorlib");
Follow the thread