Author Archives: Pablo Castilla

My proposal for joining .NET and the Hadoop ecosystem

Hi! I suppose that as a lot of people I have been living in the .NET world for last decade, and now we want to use the hadoop ecosystem in order to get all the benefits Big Data gives in our IoT projects: more storage and computing power for “less” money. But we want also to […]

Clock checker with Akka.net

Hi! We have clock issues in our virtual environment so I made a little project to check if there is really a problem. The project is very simple, it has two actors: Master: the central actor that runs in a machine in the cluster, it sends its time to the slaves and receives and prints […]

NServiceBus: missing messages with Sagas using Oracle, why it is normal and a solution

Hi all! The biggest issue we have found in our current NServiceBus project is that sometimes the second message that comes to a saga was not correlated and it was missed into a IHandleSagaNotFound handler. After some despair trying a lot of things I asked the people of Particular for support, the great Szymon Pobiega […]

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

CQRS+event sourcing posts Introduction Command + event sourcing Read model: Elastic Search and event store projections UI   The User Interface The user interface in the code is developed using AngularJS + ASP.NET MVC following the style showed here. So it has several parts: AngularJS, a REST API implemented with ASP.NET MVC all linked to the bus […]

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

CQRS+event sourcing posts Introduction Command + event sourcing Read model: Elastic Search and event store projections UI The Q So we have a lot of streams with a lot of business events inside them (Bank-Client-1: ClientCreated, MoneyDeposited, MoneyWithdrawn…) . This events are not very “queriable”, we just assign more events to business entities, that’s all. So… […]

NServiceBus: command and event routing in database with scale out

Hi all! In my current project we want to have all the routing configuration in database, including all the command and event routing. Also we want to use MSMQ+DTC and scale out without using the distributor because we will have endpoints with millions of messages per hour but each message processing is very fast. For that […]

Solution with NServiceBus 5, NHibernate, StructureMap, logic and testing

Hi all, Here you can find a prototype with a NServiceBus solution that joins: NServiceBus, NHibernate, StructureMap, logic and testing. https://github.com/pablocastilla/NSB-StructureMap-NHibernate Work in progress, comments are appreciated 🙂

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 […]