Jack
Jack

Reputation: 1693

How to use WF (Windows Workflow Foundation) in a ASP.NET web application using C# as Server Code

I searched online quite a while for the information (for beginners) on how to use Windows Workflow Foundation in a ASP.NET web application

I found a youtube video that, in my own opinion, is a worthwhile video to learn about Windows Workflow Foundation - http://www.youtube.com/watch?v=6mqGhSH9xM4. However, the problem is that the demo inside the video is for C# Console application.

Is there anyone who can advise where I can find a simple video or tutorial (for beginners and similar like the video) that teach how to use Windows Workflow Foundation in a simple ASP.NET web application so that at least I can start from that point onwards.

Upvotes: 2

Views: 8536

Answers (2)

bamboat_3
bamboat_3

Reputation: 11

You may get idea to connect asp.net we form with the workflow

Getting Started: Windows Workflow Foundation and ASP.NET

Upvotes: 0

Emond
Emond

Reputation: 50692

Normally you would use WF for long running processes so the scenario you describe in the comment is not a common thing to expect.

Pages should return quickly to the browser. The browser (javascript/ajax) could then poll the server for a result from the workflow and put it, when available, in the page.

In general I'd expect the webpage to start (or query the status of) a workflow. Hosting the workflow in the same IIS process might cause issues when the process is recycled.

You could host a workflow in IIS (I prefer Appfabric)

If you implement it as a Workflow Service (using a receive activity)

you can invoke it like any other WCF service

Upvotes: 5

Related Questions