Asp.net & WWF solution architecture advise???

Hi Everyone,

I'm a newbie with WWF and am looking at using it in a web app. I've got a standard solution architecture for apps where i have the client layer (webui project), a shared domain (c# lib project with domain objects) and a facade (lib proj, which contains ref to bl, also do some AOP for transactions etc here), bl(lib proj which in turn refs the dl).

so:

Webui--->facade--->bl--->dl--->database

<-------------------domain----------------------->

------------------------------------------------------------------------------------------------------------------------

e.g. getting a list of vans's

page_OnLoad(){

List<Van> vans = Global.Facade.VansGet();

}

in the facade method i do some transactions stuff and call the bl methods.

------------------------------------------------------------------------------------------------------------------------

What i'm trying to understand is where to put the workflow activities. They'll need to access the same bl methods and domain objects, Obviously the runtime will be hosted in asp.net wp as a HttpModule or in Global etc. Would i expose the facade to the activities as a service

Or would i expose my facade as normal and write the activities in a seperate lib with a reference to the facade, or put them behind the facade etc.

Anyone else got a solution architecture similar with WWF

Any help greatly appreciated.

Regards.



Answer this question

Asp.net & WWF solution architecture advise???

  • Tim Daborn

    I'd think, based on your description, that the WF would be running behind your facade and the WF would consume your Business entities. The workflow itself would be defining the process and could include your transaction scopes etc. to coordinate the interactions of your business objects.

    Matt



  • Asp.net & WWF solution architecture advise???