I have a simple web application (non sharepoint) in which i want to add window workflow. I am using VS 2010 (.Net 4.0). I have done that in VS 2008 but dont know how to create a state machine workflow in VS 2010. The only option i get in creating are 1. Activity Designer 2. Activity Library 3. WCF Worflow 4. Console
I want that workflow application to be added in my solutio开发者_运维知识库n so that i can integrate it. Any idea or tutorial would be of great help
The State Machine will be released in late April in the .NET Framework Platform Update 1.
You could try "Hands-on Labs for Windows® Workflow Foundation in C# and VB.NET". Anyways, there is no State Machine Workflow in the new .Net 4.0 implementation. You can achieve the same end result using the Flowchart.
The .Net 4.0 product update 1 has state machine. Check the below link
http://support.microsoft.com/kb/2478063
State Machines have been added in .NET 4.5 (you can download the Developer Preview)
Officially there is no state machine workflow in WF4.0 but you can try first CTP of State Machine Activity Pack.
http://msdn.microsoft.com/en-us/library/ee264171.aspx
It says,
"There is no longer a state machine activity or workflow model in .NET Framework version 4. For event-driven workflow modeling, see Flowchart Workflows."
精彩评论