The application part of this class diagram (=data contract) is an example taken from AsyncWcfLib.Test2.
The upper part of this class diagram shows messages provided by AsyncWcfLib:
WcfMessage: The base class of all messages.
Its properties identify the client that sent the message and the requestmessage that leads to the response.
Other data members let the AsyncWcfLib check messageflow. Traces are written in case of error.
WcfIdleMessage: A default message containing no information.
WcfErrorMessage: The asynchronous equivalent to an exception.
It contains the System.Exception objects that were thrown during message exchange.
A errorcode enumeration identifies the point of failure (client, service, library, user...).
WcfPartner: This class is used as message and is kept as partner identification on client and service side.
When deploying applications, you are distributing library and message assemblies.
Version conflicts may occur during communication, when applications are not deployed at the same time on all hosts.
See [AsyncWcfLib package diagram] and [Implement messages using AsyncWcfLib] for further details.
The application designer must define message classes with great care in order not to break an existing data contract.
The following rules apply:
Wiki: AsyncWcfLib package diagram
Wiki: Concept of AsyncWcfLib
Wiki: Home
Wiki: Implement a client using AsyncWcfLib
Wiki: Implement messages using AsyncWcfLib
Wiki: Run AsyncWcfLib.Test1