If you follow my blog, you might have read my previous posts about creating Handlebars helpers and adding it to Ghost to extend the platform's functionality. Those features were quite heavy-weight and the only way…
A while back I found a question on SO about returning a reference to a dictionary value. Here's the code sample from the question that also explains the question itself: public class PropertyManager { private Dictionary&…
... you see everything as a nail. I'm usually not the one to cite clichés, but for this one I make an exception. It is very, very true, especially in the software engineering business. If all…
Sometimes I do these posts where I describe an interesting question on SO. And sometimes I do posts about dependency injection and dependency injection containers. Well, this time, these two series cross-over (the Avengers of…
You might have come across a design like this: you are using Entity Framework Code First, you have a base class that defines the primary key of the entities, and to have a more generic…