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 notebookWorking notes / 2026
Recently mapped
Architecture, reactivity, and the hidden relationships that shape frontend systems.
field note
Thread Interrupt vs Abort
<p>Both methods can terminate a thread. The difference is that they raise difference exception, interrupt can use goto to save its life, abort can not use goto to save its life, and abort can...
Follow the thread
multithreading
Threads and exceptions
<p> If the thread method completes its execution, .NET will shutdown the thread gracefully. However, any unhandled exception thrown on the call stack of the thread will terminate not just the thread but also...
Follow the thread
WF
CallExternalMethod
A workflow can use a activity of type CallExternalMethod. This method is a member of type which addressed with ExteranlDataExchange attribute. To make the method call useful, the parameter of the method should be...
Follow the thread
config
Initialize a configuration section
in the configuration file, not config section is defined, you can use the following code to initialize the configuration.
Follow the thread
config
RefreshSection not fresh
ConfigurationManager.RefershSection does not really refresh the section. To refersh, you need to OpenConfiuration and GetSection again. RefreshSection does not have any effect at all.
Follow the thread