Search code examples
wcfravendbcqrsservicebus

CQRS Implemetation


I'm trying out CQRS principle. For instance:

  • I want to manage the list of Supplier
  • A supplier has it own address, the supplier address can be changed from the list of existing address.
  • Before changing supplier's address, I need to make sure the address is not deleted.
  • I'm using RavenDB database to store Suppliers, Addresses.
  • UI should use WCF for synchronous calls: application <-> WCF Services <-> Service Bus <-> Database

Could you tell me how to implement this sample?

Thanks, Phuc


Solution

  • There's an event sourcing sample included with the RavenDB source, that should help you get started, see here and here