I'm having trouble finding any worthwhile documentation on the new version of WorkflowServiceHost that ships with .NET 4 / VS 2010 Beta 2.
The new version of the WorkflowServiceHost now lives in System.ServiceModel.Activities and has different contructors than the old, .NET 3.x version that lived in System.ServiceModel.
I want to be able to load my workflow by passing in the type like this previous constructor in the .NET 3.x version allowed...
public WorkflowServiceHost(Type workflowType, params Uri[] baseAddress)
My issue is that I don't have the information any of the other contructors need at compile time (I was planning to infer the Type of my workflow via Type.GetType(string) as I will only have access to the actual Workflow activities at runtime).
Is there any other way that I can host a workflow that has been loaded at runtime?
Thanks for all your help in advance :)