Dropzone.js is a slick multi-file upload utility. A lot of times when uploading files we need to dynamically specify a query string parameter so that the uploads can be saved on the server at the correct path. Following example shows you how to do just that.… Read More


MEF (Managed Extensibility Framework) is an awesome framework that allows easily loading types at runtime making your apps plugin-ready.   Using reflection magic, MEF makes it super easy for any app to accept plugins. Following are 5 easy steps involved in making your app plugin-ready using MEF: Define an interface for plugins.  This is the interface… Read More


LINQ provides a Distinct() method, but in order to find distinct elements in a list of some target class, we must first implement the IEqualityComparer<T> interface in our target class. That’s what Distinct() uses in order to compute whether one element is the same as another element. Implementing IEqualityComparer<T>, however, is not so straightforward as… Read More