Author Archives: Pablo Castilla

CQRS with event sourcing using NServiceBus, Event Store, Elastic Search, AngularJS and ASP.NET MVC (part 2)

CQRS+event sourcing posts Introduction Command + event sourcing Read model: Elastic Search and event store projections UI   The C As you may know CQRS stands for Command Query Responsability Segregation. This basically means that you will implement two separate systems, one for managing commands (C) and other for managing queries (Q). They get synchronized by […]

CQRS with event sourcing using NServiceBus, Event Store, Elastic Search, AngularJS and ASP.NET MVC

CQRS+event sourcing posts Introduction Command + event sourcing Read model: Elastic Search and event store projections UI     Introduction Hi, In the next post series I will show a CQRS architecture. A CQRS architecture is an architecture that splits the system in two parts: the one for managing commands and another one that is a […]

Little prototipe with ASP.NET MVC, JQuery.ajax and AngularJS

Hi, Some nice people asked me to implement a prototipe, a shop, with ASP.NET MVC, JQuery.ajax and AngularJS. Except at menu level it uses ajax in every page content, it has: paging in the article list (with JQuery.ajax retrieving the whole html of the partial page). article details using JQuery.ajax retrieving a json object and […]

NServiceBus: solution topology and scalability

Hi, I have been playing with NServiceBus and MassTransit for a few months. One thing I have learned that is important in the design phase is to bear in mind how the system will be deployed or to code the system in a very flexible way (a project per handler?). I would have liked to […]

CQRS with MongoDB+MassTransit+ASP.NET MVC+AngularJS

Hi all! It is always funny to be able to start a project from scratch, that way we can try new concepts and technologies. As our projects are very event oriented and the performance is critical I want to create a CQRS (maybe without event source) and put in its core a pub/sub (in this […]

Dirty WCF: Generating and propagating a transaction in a forwarding service.

Well, as I have explained before, the TransactedReceiveScope activity creates a serializable transaction that causes blocks. I have used a tag to modify this behaviour and create a ReadCommitted transaction, but it doesn’t work under certain situations. Now I have tried a different and much dirtier approach. The overall idea is to receive any message […]

Publisher / Subscriber with Windows Azure Service Bus and WCF

Hi all! Let’s talk about a Pub/Sub. Motivation A classical SOA architecture, that mainly uses Workflow Foundation for orchestrations and WCF for services, needs somekind of business event processing. These events usually aren’t calls that follows a normalized business process flow. The events are generated by services which don’t need to know whichever listen to […]