Are workflows good for web service business logic?

Posted by JL on Stack Overflow See other posts from Stack Overflow or by JL
Published on 2010-06-10T08:08:40Z Indexed on 2010/06/10 8:12 UTC
Read the original article Hit count: 193

Filed under:
|

I have a series of complex web services that are getting used in my SOA application. I am generally happy with the overall design of the application, but as the complexity grows, I was wondering if Windows Workflow might be the way to go.

My motivations for this are that you can get a graphic representation of the applications functionality, so it would be easier to maintain the code by its business function, rather than what I have now ( a standard 3 tier class library structure).

My concerns are:

  1. I would be inducing an abstraction in my code, and I don't want to spend time having to deal with possible WF quirks or bugs.
  2. I've never worked with WF, is it a solid technology?
  3. I don't want to hit any WF limitations that prevent me from developing my solution.
  4. Is a WF even the right solution for the task?

Simply put I am considering writing my next web service in this app to call a WF, and in this work flow manage the tasks the web service needs to carry out. I think it will be much neater and easier to maintain than a regular c# class library (maintainable by namespaces, classes ).

Do you think this is the right thing to do? I'm hoping for positive feedback on WF (.net 4), but brutal honestly at the end of the day would help more.

Thanks

© Stack Overflow or respective owner

Related posts about .NET

Related posts about wf