SysOperation versus RunBaseBatch
Before going into the details on using the new SysOperation framework, let's put it next to the RunBaseBatch framework to find out what the main differences between the two of them are.
The first difference is that the SysOperation framework uses WCF services to run the processes and handle communication between the client and server. One of the advantages is that the client/server communication is less chatty so the connection doesn't need to be kept alive as opposed to the RPC communication of the RunBaseBatch framework.
The second big difference between the two is how they implement the Model-View-Controller (MVC) pattern. The RunBaseBatch framework uses one class that extends from the RunBaseBatch
class. All of the components contained in the MVC pattern are contained within the same class.
- The model is identified by the class members.
- The view is handled by the
dialog
,putToDialog
, andgetFromDialog
methods. These methods present a dialog to...