Command Handlers return values in CQRS

Command Handlers return values in CQRS

I have recently come across this very interesting blog post by Jimmy Bogard ( the guy behind Mediatr, just FYI). He’s talking about CQRS, and makes a good point about how the user should be informed of the result of a Command execution. Should the Command Handler return a value?...

2 minute read
Unit testing MongoDB in C# part 4: the tests, finally

Unit testing MongoDB in C# part 4: the tests, finally

More than a year. Wow, that’s a lot, even for me! In the last episode of this series, we discussed about how to create the Factories for our Repositories. I guess now it’s time to put a use to all those interfaces and finally see how to unit test our...

6 minute read
Yet another “How to use SASS with WordPress” guide

Yet another “How to use SASS with WordPress” guide

Yes, it’s another one. If you lookup on Google there are are tons of articles about how to use SASS in a WordPress theme, so why writing another one? Well, the answer is simple. Because I can. Because I am bored. Because I’m going to give you the sources with...

3 minute read
How I almost lost all my source codes.

How I almost lost all my source codes.

Now sit down my dear and listen carefully, I’ll tell you a story about how I almost lost all my sources. A while ago, I decided to give my marvelous Macbook pro mid-2013 an upgrade. I searched online a little bit and at the end I bought an SSD drive,...

2 minute read