4. August 2010
xhinker
WF4
By promoting data,we can query sql persistence store directly:
1. My persistence participant:
public class MyPersistenceParticipant : PersistenceParticipant {
public string message;
static XN...
[More]
4. August 2010
xhinker
WF4
Many people want to store WF4 persistence data in xml file rather than in Sql Server(express). So I extract the xml persistence store code from the sample "PurchaseProcess".XmlWorkflowInstanceStore.zip (4.72 kb)Before using this xml persistence store, you need to set up the data folder in App.config...
[More]
4. August 2010
xhinker
DotNet
Delegate BeginInvoke and EndInvoke methods are the fundatmental of c# asynchronous programming. here is a example:
public class AsyncResultPatternIntroduction {
delegate void WorkerThreadHandler();
&...
[More]
2. August 2010
xhinker
DailyLog
Today, when I demonstrate one of my program to my colleague,Error reported, it is really,really weired!. I just ran it last week and never touch it again, how can it break down? After a little nap,I rechecked the program, and found that one line of the code is commented! And I realized it is the Mes...
[More]
0783_WF4Cookbook_Chapter04_Revised.zip (1.43 mb)
0783_WF4Cookbook_Chapter03_Revised.zip (2.55 mb)
0783_WF4Cookbook_Chapter02_Revised2nd.zip (4.63 mb)
0783_WF4Cookbook_Chapter04_Revised2nd.zip (1.47 mb)
0783_WF4Cookbook_Chapter06_Revised.zip (1.53 mb)
0783_WF4Cookbook_Chapter07_Revised.zip (2.79...
[More]