|
ANegm
|
Tuesday, August 16, 2011
|
0
|
Aug
16
We are happy to announce that Workflow Services Mold has been shipped.
You can watch a quick tutorial about the new mold:
You can also download Full S-Expert with the new Mold from
here.
The following items describe the details of the new Mold:
1. Define the Contract:
- Each Service in the S-Expert designer will have a hosted Workflow designer associated with it, so we can define Operations either by the workflow designer or by the S-Expert designer.
- In the S-Expert designer, when you add new Operation to a Service, the Workflow designer will be updated with a new Receive Activity with that Operation name. And if you add new Receive Activity to the Workflow designer, a new operation will be added to the S-Expert model.
- The Workflow designer is synchronized with S-Expert designer, any change in one of them will reflect into the other.
- If we add Operation Parameter in the S-Expert designer, new parameter will be added to the Receive Activity and vice versa, and when we set the return type of the Operation, that will affect to the Workflow designer by adding Send Reply activity to the Workflow designer and vice versa
- Workflow designer is hosted in S-Expert designer so you can easily edit your model.
2. Implement the Contract business with Workflow Services:
- When you select any Service and press ‘Go to Implementation’ smart command, a Workflow designer control will be opened to author its operations business.
- The Workflow designer can automatically use your S-Access assets like repositories, where Workflow Services Mold will generate an Activity Library project that contains custom code activities for each entity repository method like Save, Update, and Delete.
- To load any entity repository method on your Workflow designer, just click on Add Repository Activities button, select the Entity then its custom code activities will be loaded to the Workflow designer toolbox, so you can drag and drop any of these activities to implement your operation business.
- You can override the implementation of any generated custom activities. You can also add your own custom activities to be auto loaded in the Workflow designer.
- Another very useful feature that all Data Contracts will be added automatically to the Workflow designer, so you can directly use it as external types in your Workflow.
- All Fault Contracts will be added automatically to the Workflow designer.
3. Generated staff:
- Workflow Services Mold will generate WCF Workflow application project which contains all defined Services contract and their Operation’s implementation xamlx files.
- Workflow Services Mold will generate a host project for xamlx services.
- Workflow Services Mold will generate an Activity Library project that contains custom code activities for each entity repository method like Save, Update, and Delete.
- For each Entity Repository method, CodeActivity and AsyncCodeActivity will be generated. In your workflow, you can use any of them.
- Workflow Services Mold will generate a client classes for both Workflow services and ordinary WCF services with MEF support.
- Workflow Services Mold will generate Test Cases for the generated services.
4. Editing your model and import tools:
- You can edit any generated xamlx file with the S-Expert hosted Workflow designer.
- You can edit any generated xamlx file by the ordinary Visual Studio Workflow designer, and use Update model from xamlx tool to copy changes to S-Expert.
- Workflow Services Mold will provides an Import tool which can be used to import any predefined xamlx files into S-Expert model.
- Workflow Services Mold will provides an Import tool which can be used to import Contracts from existing dlls.
- Workflow Services Mold will provides an Import tool which can be used to import Workflow Services defined by C# code from existing dlls.
5. Extensibility:
- You can extend the synchronization code (between the S-Expert designer and the Workflow designer) to add new behaviors.
- You can extend the S-Expert hosted Workflow designer. For example add more tracking or persistence functionality.
- You can override the generated custom activities code.
- You can add any new custom activity to the activity class library, and it will be auto loaded into the Workflow designer toolbox.
It is the first public release of Workflow Services Mold, your feedback / suggestions are really appreciated.