Home  /  Questions  /  Question



50   50
Jun 10, 2010


Need help to understand MessageBase

Hi All,

Can anybody explain MessageBase folder in Action project.Especially RequestBase & ResponseBase How these are useful and implemented.

Thanx in advance

Regards,

Shahid



555   99.9
Jun 21, 2010
Actually 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