Is there anyway of allowing the CommandBase to communicate with the client while the Execute method is being run on the app server, regarding its progress? I have a large process going through a list of objects and it may take some time, so it would be good if the UI could see the state of the process.
That is not possible by the DataPortal as-is.
You may create your own WCF Dual Channel or use SignalR to send messages but that would have to be in addition to the CSLA DataPortal.
Thanks for the quick reply Jonny. Changed my design anyway to do it all in the UI, where progress can be monitored.
I would image though that a data intensive, slow process done on the app server would require some sort of feed back to the UI regarding progress. Are there any plans to implement anything?
No, there is no plan to implement this in the DataPortal.
The DataPortal must support a number of protocols/implementations and we have (to my knowledge) no plans to implement a duplex channel.
Copyright (c) Marimer LLC