Windows Workflow Foundation (WF): A workflow engine based on workflow developmentProgramBusiness logic andCodeSeparation can greatly improve the efficiency of software development.
Windows Communication Foundation (WCF): A technology used to implement communication between applications (including programs developed in different languages). WCF is built on the SOAP protocol.
Windows cardspace (WCS): a new solution to solve the problem of requiring di
Code download
Http://files.cnblogs.com/foundation/wxwinter2.rar
It is written based on the existing WF debugger, and the following functions are added to the debugger:
Business subexample for demonstration
Design business forms first based on this scenario
Use the released Process designer to design the process. Of course, you can also use
Add the designed process to the debugger for debugging.
After the debugging is passed, this pr
Download example:
Http://files.cnblogs.com/foundation/wcfwfSample.rar
Example:
WCF Workflow ServiceCreate a WF-enabled WCF Service
Example 1: a service used to calculate AdditionAdd a WCF Workflow Service
After adding,
1. VS2010 automatically generates a template with the extension xamlx,
2. Add two activities to the template: [Receive] and [Send]. [Receive] is used to Receive client requests and [Send] is used to Send messages to the client.
Database primary key design description
In my release example, a WF-based business process platform,
N12345B
//
Almost all data structures use the Guid data type as the ID. Does this ID only serve as the serial number? This ID is not used for the relationship between all tables, and xxxNo is used.
//
Here, I will explain the reasons for using this GuidWhy do I add a Guid column to each table?
This is because I want to process concurrency, which is
event could not be completed as scheduled. Zhang San could send a notification of cancellation, which is a bit like a transaction, but pay attention to it, zhang San can also send an activity extension notification
Okay, no nonsense. I have already written more than 20 things. I will not mention this article. The exception capture and resource compensation WF applications will be introduced below.1. FaultHandlersActivity and FaultHandlerActivity1.1
1
Different from Rete-based in BizTalk
AlgorithmAnd WF only uses
Deduction of priorityProcess to analyze the results. It is based on the object instance rather than the type.
1) First, sort the rule in the ruleset by priority. If the priority is the same,Sort by the name of the rule.. And all pending tags are set to true (meaning whether the current rule action has been executed and can be used as a candidate for re-execution ).2) Calculate the con
Appfabric bearer service procedure
For services that contain WCF and WF, if you want to run and manage and maintain them for a long time, appfabric is undoubtedly a good choice. Procedure:
Download Installation Software by referring to http://www.cnblogs.com/2018/category/263041.html
The configuration after installation is as follows:Appfabric installation and configuration
Database after installation
The main services started are:
Appfabr
WCF and WF. Advanced topic log settings and cleanup in use
Tracking level: the number of logs generated by different tracing types varies greatly. Therefore, you need to set the tracking level based on the actual situation and Set Tracking and diagnosis only when tracking errors are required, this method produces a large amount of logs, which facilitates finding clues when handling errors.
Because log files are constantly recorded, it is necessary
A new project in the lab involves OA and workflow. Although I know something about it, I have never done it. I have to spend some time learning about it. Collect several excellent WF sites in China and learn about them first. I cannot figure out how the workflow of the B/S structure is automatically completed ???
Site collection:Enterprise OA (http://www.oa789.com/index.htm)Workflow Forum (http://www.wf800.com /)Workflow Network (http://www.simflow
a service does not necessarily require WCF, but actually using WCF can make the task of creating a service get twice the result with half the effort. WCF is the implementation of Microsoft's definition of a series of industrial standards, including service interaction, type conversion, envelope aling, and management of various protocols.
Windows Workflow Foundation (WF): A workflow engine based on workflow developmentProgramBusiness logic andCodeSep
This section focuses on how to add multiple activity to the WF4.0 process and how to customize the activity
This example downloads:
Http://files.cnblogs.com/foundation/SequenceSample.rar
Http://files.cnblogs.com/foundation/CodeActivitySample.rar
Sequential container sequence and codeactivity
Sequential container sequence
Class name
System.Activities.Statements.Sequence
File
System.Activities.dll
Structure description
Inherit nativeactivityi
scheduling logic, domain model language has been very popular these years. The description of the procedure can be implemented in any one way.
The problem of 1.2c# control process
Take a look at the interactive process: the process of requiring the response of external messages in the process of flow. Maybe some processing will wait a few days or even weeks. If you use the C # control flow implementation, how should be implemented. The general practice is to create a new line Cheng execution
WF rule designer
The WF engine provides three methods to start a workflow:
Specifies the class for referencing workFlow. This requires referencing the workFlow DLL or placing workFlow and engine in the same project.
Specify the xoml file cited for workFlow (dynamic compilation)
The xoml string of the specified workFlow.
I have written examples of these three methods. I have also said their advantages
Insist on learning WF Article Index
Because the rule is notProgramOfCodeYou cannot use the vs Debugger for debugging. If you want to debug a workflow program with rules, you can enable the tracing function of the rule engine. The following is an example. We need to create an ordered workflow project, put a policyactivity in the workflow designer, and set its rulesetreference attribute. We will create the following rule set. See the following table:
1. workflow development style
In WF, there are three ways to develop workflows.
Here, I don't want to take the time to give an example.
The workflow layout is in The XAML format. I believe that those who know about WPF and sivlerlight know this clearly. In fact, this is the same as WF. This is the so-called markup-only mode.
The other extreme is code-only. We still want to think abou
Previously, I saw in Asp.net 3.5 building a web portal site using WF to build an architecture business process. I felt very cool and didn't care too much about it. During this time, I have been planning to use WF to build a workflow solution, suddenly I thought: If workflow is used as a part of Sharepoint to replace events, is it a good solution, but I found that there are too many problems to solve.
The s
. activitybind (); activitybind3.name = " workflow " ; /// Object Name activitybind3.path = " right " ; // Object member This . sumactivity1.setbinding (activitylibrary. sumactivity. rightproperty, (system. workflow. componentmodel. activitybind) (activitybind3); /// bind
Generally, you do not need to explicitly define the binding. The process designer will generate the relevant code.
3. bind it to the configuration file
WF supp
Design business process platform based on WF _ multiple statuses of the same process
A status chart is a design chart that is frequently used in workflow design,
When talking to me about the status chart, many process designers often say that they are familiar with the legends of the status chart in UML, but every time they draw a status chart of the business process, I always feel that the painting is not easy.
In fact, when drawing a state char
Previous Article: WF from entry to entry (Chapter 6): loading and detaching instances
After learning this chapter, you will learn about:1. Know how to use Sequence activities2. Know how to use Code Activity3. Know how to throw an exception in the workflow and handle it.4. Know how to pause and terminate your workflow instance in code
In this chapter, we will officially introduce a set of activities that we have seen earlier: Sequence activities and Co
Developers are increasingly using service-oriented architecture (SOA) as a way to build distributed applications. For inexperienced people, designing and implementing service-oriented distributed applications can be daunting. However, Microsoft. NET Framework 4 Enables Windows Communication Foundation (WCF) services to be implemented using Windows Workflow Foundation (WF) more than ever More simple.
WCF Workflow Services provide an efficient environm
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.