which one is better architecture for the WF4.0?

Our team is going to design a workflow solution for the log running processes. We have to maintain persistence and tracking and versioning for workflow. Workflow server needs to execute multiple workflow. We are using wf4.0. We are finding the best architecture for the workflow server. Following points are consideration in our mind.

  1. Integration between WCF and wf and workflow stored in database. In this approach, Client call a wcf service that load a workflow xaml file from database and create object of WorkflowApplication with loaded workflow and execute this. In this approach only one endpoint exposed with the wcf service. Now wcf service responsibility to start a workflow using workflowapplication class.

  2. Inbuilt integration of workflow service with wcf. In which a workflow is developed with message activity and hosted with workflowservice host, client call directly by its endpoint.

Now I have to choose one approach from one of them. please suggest me to choose one or any other approach that is best suitable for log running workflow that also maintains persistence, tracking and versioning.


Exposing the worklfow using the WCF integration is by far the easiest way to go. You can manage everything yourself but for the most part all you are doing is duplicating code that has already been written for you. If you like a challenge and are paid by the hour fine but if you want to get things done the inbuild solution is far more productive.

Need Your Help

Migrating from ASP Classic to .NET and pain mitigation

asp.net asp-classic migration

We're in the process of redesigning the customer facing section of our site in .NET 3.5. It's been going well so far, we're using the same workflow and stored procedures for the most part, the bigg...

Circular Reference with mongoose

javascript node.js mongoose

I have the following code for mongoose schemas

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.