[WF4]WF4 Activity Validation

1. Basic Validation: public class PersonInfo:NativeActivity {        public string Name { get; set; }        public int Age { get; set; }  ... [More]

[WF4]Create Your Own ServiceHostFactory

By using WorkflowServiceHost class, we can create a WF4 service host in code. The advantage of using WorkflowServiceHost is that we can add our own workflow extensions, tracking participant and persistence store. So problem is: can use our own WorkflowServiceHost in IIS7 like we did in the console a... [More]

[WF4]WF and BPEL

A customer asked about the BPEL support in WF4. Currently, we don't have the BPEL in WF3/4. The question is, will we have the BPEL support in the near future? I think the answer is NO. More and more people are going to use WF4, WF4 workflow can be represented as XAML. Since we have XAML, I don't thi... [More]

[ASP.NET]ASP.NET and physical path

In ASP.NET page, the following code: Directory.GetCurrentDirectory(); will return "c:\windows\system32\inetsrv" this means, if you writing file without specify a directory, this file will be writen to "c:\windows\system32\inetsrv". for example, in asp.net the following code will write a test.txt ... [More]