Previously in my web applications when a CRUD operation (or any other task for that matter) was made (from the UI) I would use a simple pattern like the following utilizing WCF.
GetUserByIDResponse response = new UserServiceClientProxy().GetByID(new GetUserByIDRequest() { UserID = UserID });
if (response.success) {
//response.data - Do something!
} else {
//Show error response.message
}
From my research however it seems that if deploying with the intention to run from the Azure platform and using the Cloud Services model the best approach is to use this service bus concept with code like the following
QueueClient requestClient = CreateQueueClient("RequestQueueName");
QueueClient responseClient = CreateQueueClient("ResponseQueueName");
MessageSession receiver = responseClient.AcceptMessageSession(ReplyToSessionId);
//blah blah
When communicating is my assumption that all my service type operations now be handled through service bus correct? Or would you only look at using this technique in some particular aspects of your application?
I guess what I am asking is, "Is service bus a general replacement for a SOA (Service-oriented architecture) designed for the Azure platform?"
Hopefully that makes sense.