First of all let me say thanks for taking the time to take on such a large-scale example. However, after reading the readme.txt very carefully, I am still unable to get the application to work using the console host.
MSMQ has been disabled by setting the value to an empty string as you stated.
I'm getting this message in my console window (please note that the console host and both WinUI applications are being launched on start-up).
Starting Expense Service Host ...
Verifying Message Queue ...
QueueName not specified.
Sample will continue to run without MSMQ support.
To enable MSMQ support, please specify a QueueName in config file.
Loading WCF Expense Service ...
Error Initializing Host.
Exception : There was an error opening the queue. Ensure that MSMQ is installed
and running, the queue exists and has proper authorization to be read from. The
inner exception may contain additional information.
Please refer to the README.TXT for setup and installation instructions.
What I have noticed is that the URI value within the following is blank. It's throwing an error.
/// Loads the WCF Expense Service.
/// <returns>A ServiceHost instance.</returns>
private static ServiceHost LoadWCFService()
Console.Write("Loading WCF Expense Service ... ");
// Create Service Host.
WorkflowServiceHostFactory factory = new WorkflowServiceHostFactory();
ServiceHost svcHost = factory.CreateServiceHost(typeof(ExpenseService)); // THIS IS WHERE THE EXCEPTION IS BEING THROWN