How to reference to System.Workflow.Runtime.Hosting.Web

Hi All,

I am creating a workflow sample with ASP.NET 2.0. I am using WorkflowWebRequestContext to get the workflowruntime but getting declaration error.

I am not able to find System.Workflow.Runtime.Hosting.Web namespace. Could anyone update me what assembly I need to reference for this

Would appreciate your help

Cheers,

Sansanwal



Answer this question

How to reference to System.Workflow.Runtime.Hosting.Web

  • Javier Carvajal

    Thanks

    It worked now. Ironically, there is not a single mention of it in WinFX documentation


  • NyaRuRu

    Sansanwal - they removed that namespace after beta 2.0(I think that was the version).

    The answer generally is that if you need to get ahold of the WorkflowRuntime you need to create your own hosting layer.



  • How to reference to System.Workflow.Runtime.Hosting.Web