SubSonic 3.0 Released
Finally a new version of SubSonic was released today with a lot of new features. SubSonic is one of my favorite Data Access Layer (DAL) generators, that makes it super easy to create data access...
View ArticleAn Elegant Way to Implement ReadOnlyDictionary(TKey, TValue) in C#
While working on creating an application framework for a personal project, I needed a way to expose a Dictionary<TKey, TValue> object from one of my methods. The only caveat being, I wanted the...
View ArticleSimplify N-tier Development with WCF RIA Services
Last night I was at Dallas .NET User Group meeting where Tony Sneed of DevelopMentor made a presentation on WCF RIA Services called “Turbocharge Silverlight Development with WCF RIA Services“. I had...
View ArticlePOCO in ADO.NET Entity Framework 4
ADO.NET Entity Framework means many things to many people. At it’s core, however, it allows for Object Relational Mapping (ORM) by providing a layer of abstraction between relational databases and...
View ArticleComplex Object Mapping Using AutoMapper
AutoMapper is an awesome open source library that allows automatic object-to-object mapping. There are various getting-started blog posts and articles on the web (e.g. Getting Started Guide and...
View ArticleTexticize – String.Format on Steroids!
I just released a new version of open source Texticize. Texticize is an extensible and intuitive object-to-text template engine for .NET. You can use Texticize to quickly create dynamic e-mails,...
View ArticleFinding Distinct Elements In A List(T)
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...
View ArticleMEF: Easily Creating Plug-in Based Apps In .NET
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...
View ArticleDependency Frameworks and Parameterized Constructors
Most dependency injection frameworks support some kind of object initialization through parameterized constructors. The question is whether or not it’s a good idea to use that feature of DI frameworks....
View ArticleWeb API Multi-file Upload Using Dropzone.js
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...
View Article