Views: 5.8K
Replies: 1
Archived
|
Need help to understand MessageBaseHi All,
Can anybody explain MessageBase folder in Action project.Especially RequestBase & ResponseBase How these are useful and implemented. Thanx in advance Regards, Shahid Uni Uni, Jun 10, 2010
|
|
Reply 1Actually every item is well explained inline within the code.
Both RequestBase and ResponseBase are only base classes that real messages derive from. A message is an item that is sent between the server and the client (the client requests and the server responds, e.g.) by using a webservice (in this case). To standardize the format in which the messages are sent back and forth, every message must derive from respective base class. The concrete implementation of a specific message then contains the properties that reflect its own actual meaning. Hope that helps. - Chris Christian Jacob, Jun 21, 2010
|