References:

(in C#)

Executing Long Running Operations - Part I
http://www.dotnetbips.com/articles/e...fb3e9cb66.aspx

Executing Long Running Operations - Part II
http://www.dotnetbips.com/articles/5...0b5cd13bf.aspx