Any news on how WWF will integrate with ASP.Net I am hoping that it will provide a way to graphically manage the workflow of an ASP.Net application. It always bothers me having to bury navigation instructions in your code - if WWF can improve on that then please let me know!!

WWF and ASP.Net
Airex
http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/winwf_gettingstarted/html/feaec6ba-1653-434a-b0c3-c6d27b5fe540.asp
Mark Schmidt
Programmer Writer - WWF
Microsoft
briandra3
I'm confused.
Earlier you wrote "Take a look in the documentation in the nodes: Windows Workflow Foundation->Windows Workflow Foundation Programming Guide->Developing ASP.NET Workflow Applications. There's some good information there."
Is there any WWF-ASP.NET webforms documentation
Michael.
corestar
The original poster should be the only person allowed to mark a reply as an "answer". ...a person should not be allowed to mark their own replies as "answers" ...should apply equally for everyone ...MS people too.
Chuck Leonard
I wanted to unmark Mark Schmidts post as the Answer, since it does not answer the question. But I'm not allowed to do so. I guess you can only do that when you are the original poster. I wonder if the MS folks look into threads after they have been marked as answered.
Jared
dinsdale
Mark Schmidt
Programmer Writer - WWF
Microsoft
thezman
Mark,< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
I am very appreciative of the follow-up. I will look at persistence more deeply now that I have gotten away from my other tasks. I think my questions are less of how to keep the framework persistant and more of how webforms will interact with the workflow engine itself.
Let’s use a medical application as an example. The first activity is to log into the system. The next step may be arbitrary so we’re looking at a state machine at this point. But, lets say they can do two things: complete an intake form or process a payment.
In WinForms, the login process could be a modal dialog that pops up and blocks the workflow thread until the dialog is dismissed. In WebForms, this is not such a simple task. We must redirect the user to the login page, let the user login, then redirect the user back to some page that resumes the workflow. The workflow must be resumed even if authentication was not successful because we will likely want to handle such a case in the workflow itself.
The intake and payment components pose similar questions. How much of the logic is in the ASPX pages themselves and how much is in the workflow I would like our workflows to have activities like CompleteIntake and ProcessPayment, but I don’t think the workflow should know much (if anything) about Response.Redirect or other ASP.Net plumbing.
Our goal is to write workflows that could be executed in a rich client or on the web. I have learned a little about the Workflow service model and using InvokeMethod and EventSink to push presentation-specific logic outside of the workflow. But I think it would be very very helpful to see an example of all these concepts tied together in a working ASP.Net sample.
Thanks for your time and whatever tutorials you come up with.
Regards,
Jared
Praj
Alaska
Take a look in the documentation in the nodes: Windows Workflow Foundation->Windows Workflow Foundation Programming Guide->Developing ASP.NET Workflow Applications. There's some good information there. If you can't find what you're looking for, let me know and I'll work with you to answer any specific questions you might have. I played around a bit with ASP.NET web services interacting with InfoPath and WWF.
Mark Schmidt
Programmer Writer
Microsoft
bradrum
Unmarked. We have some information (sample) coming on this subject. I'll post here when it's available.
James Conard
Architect Evangelist - Windows Workflow Foundation
http://www.WindowsWorkflow.net
http://blogs.msdn.com/jamescon
J. Ho
On page http://winfx.msdn.microsoft.com/library/default.asp url=/library/en-us/winwf_gettingstarted/html/dd090d25-dac6-4d39-afda-7fe5736e1075.asp frame=true, it says "content to be provided".
There's no guidance on build ASP.NET webforms apps.
MichaelSh
Using Windows Workflow Foundation within ASP.NET is a pretty popular subject and as such will garner some serious attention in the future. For now, I'll post a response I gave to someone else regarding this subject.
------------------------------------------------------------------------------------------------
WWF provides an out-of-box solution using SQL whereby the workflow data is stored as plain text (i.e. no blobs). However, you will also find that WWF is highly extensible and if you want to create your own persistence service, as an example a persistence service that serializes the workflow to an XML file, you can easily do so.
Now as far as how that is done in a stateless environment such as ASP.NET you will want to start looking into the persistence service I just mentioned. Once you set up your persistence service (let's use the built-in SqlStatePersistanceService as an example) once you call Unload on a WorkflowInstance object, it's state will be saved off into a Sql db. You can then later call the Load method to start where it last left off (note that you can also use UnloadOnIdle = true to let the runtime decide when to unload a workflow.
Hopefully that's enough to get you thinking about how to proceed. I know this is a hot topic so I'm going to devote some time coming up with a sample/tutorial that will go into the WWF docs. For now, if you haven't already I recommend you take a look at the WWF labs at http://www.microsoft.com/downloads/details.aspx FamilyId=35238943-291F-4A37-BB8F-AC09B2E25B2F&displaylang=en
Let me know if you have any questions.
-----------------------------------------------------------------------------------------------
As far as the labs go, there is a lab covering Windows Workflow Foundation and Web Services but nothing right now showing how to use Windows Workflow Foundation in a normal ASP.NET page.
You can also try just hosting the runtime in a ASP.NET page and kick off a workflow. It's the same procedure as the hosting code you'd find if you created a Sequential Workflow console application. However, for more advanced cases where multiple users interact with a single running workflow in a stateless environment, I haven't finished the sample/tutorial yet.
Mark Schmidt
Programmer Writer
Windows Workflow Foundation
Microsoft
P.S. Yes, we do read posts even if an answer has been provided :-)
elias_adum
I note that there is an empty page titled Workflow-Enabled Webforms in the documentation. That sounds very close!
Anubhava
I don't think the documentation is available separately yet. You can always download the Visual C# 2005 Express edition of VS from http://go.microsoft.com/ linkid=2676891 and then install the WWF SDK to read the docs. If you don't want to go this route, let me know and I'll see what I can do.
Mark Schmidt
Programmer Writer
Microsoft
Rahul_hk1
Thanks Mark!