Progress of a CommandBase

Progress of a CommandBase

Old forum URL:

pegesaka posted on Monday, June 10, 2013

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.



JonnyBee replied on Monday, June 10, 2013


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. 

pegesaka replied on Tuesday, June 11, 2013

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?

JonnyBee replied on Tuesday, June 11, 2013

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