Yun Jin's WebLog

CLR internals, Rotor code explanation, CLR debugging tips, trivial debugging notes, .NET programming pitfalls, and blah, blah, blah...

Workflow Foundation 4.0 Activity Data Model (III)

I finally finished the long overdued last installment of the Activity Data Model series. In this...

Author: Yun Jin Date: 04/28/2010

The first wave of WF4 Activity Packs are released

I'm very happy to annouce that my team just released 2 pack of Activities for WF4 on CodePlex! ·...

Author: Yun Jin Date: 04/25/2010

Workflow Foundation 4.0 Activity Data Model (II)

Here comes sequal of my WF4 Activity Data Model blog. This post focuses on WF arguments: the...

Author: Yun Jin Date: 04/06/2010

Workflow Foundation 4.0 Activity Data Model (I)

This is my first post about WF4's Activity Data Model. The focus of this post is a high level...

Author: Yun Jin Date: 04/05/2010

Workflow Foundation 4.0 Activity Model (II)

I just posted the 2nd half of introduction to WF4's Activity Model. In this blog, I have given...

Author: Yun Jin Date: 02/01/2010

Workflow Foundation 4.0 Activity Model (I)

I just posted one entry in our "Go with the Flow" team blog to explain Workflow foundation V4's...

Author: Yun Jin Date: 01/25/2010

A developer's view of Workflow

This is my first blog post about Windows Workflow Foundation (WF) on the "Go with the flow" team...

Author: Yun Jin Date: 01/14/2010

Hello world, again

I've disappeared for more than 4 years in blog space. During this time period, I left CLR team and...

Author: Yun Jin Date: 01/14/2010

Trivial debugging note - using WeakReference in finalizer

Some time ago I saw a problem from a partner team in Microsoft that an InvalidOperationException is...

Author: Yun Jin Date: 08/31/2005

Thread, System.Threading.Thread, and !Threads (III)

I got email asking me to explain !Threads output in details. I think this is a good question and a...

Author: Yun Jin Date: 08/30/2005

Thread, System.Threading.Thread, and !Threads (II)

With knowledge in my previous blog, we could avoid some mistakes in .NET programming. A C++ Thread...

Author: Yun Jin Date: 08/29/2005

Thread, System.Threading.Thread, and !Threads (I)

If you use SOS’s !Threads command during debugging a lot, you should be familiar with such output:...

Author: Yun Jin Date: 08/25/2005

Special threads in CLR

Question: How many threads does a typical managed process have when it just starts to run? Answer:...

Author: Yun Jin Date: 07/05/2005

Desctructor, finalizer, and Dispose - Part2.C++/CLI in Whidbey

I changed the program in previous post to use new Whidbey syntax. using namespace System; ref class...

Author: Yun Jin Date: 06/16/2005

Desctructor, finalizer, and Dispose - Part 1.managed C++ extension in V1.X

As a C++ fan, I'm a long time admirer for deterministic finalization. I think introduction of...

Author: Yun Jin Date: 06/16/2005

Trivial debugging note - what catch(…) can’t catch

One day I was debugging a problem where a Waston dialog popped up on a process. What surprised me...

Author: Yun Jin Date: 05/31/2005

Figure out variable lifetime using SOS

There is a bug in this program below, try to see if you could catch it. Test.cs (compiled to...

Author: Yun Jin Date: 05/15/2005

Thread safety of Timer callbacks

I didn't realize I've stopped blogging for 1 year. What a shame! Fortunately I didn’t waste the...

Author: Yun Jin Date: 05/08/2005

How handy auto-boxing could be!

I've been quiet for 3 months and probably won't have much time for blogs for next several months...

Author: Yun Jin Date: 06/05/2004

Dangerous PInvokes - string modification

Objects in CLR are usually managed by the runtime in GC heap; user code does not have direct access...

Author: Yun Jin Date: 02/21/2004

FCall and GC hole - first post about Rotor

An exsample of FCall My friend Joel Pobar had a great post to demo how to add new code to Rotor...

Author: Yun Jin Date: 02/09/2004

ExitThread() in managed program?

I've seen people calls OS's ExitThread in managed applications via PInvoke to exit a managed thread,...

Author: Yun Jin Date: 01/30/2004

OutOfMemoryException and Pinning

As you all know, in CLR memory management is done by Garbage collector (GC). When GC can't find...

Author: Yun Jin Date: 01/27/2004

Hello world!

Hello, everybody. I'm Yun Jin, a dev works in CLR's Quick Response Team under Michael Stanton . As...

Author: Yun Jin Date: 01/17/2004