Home » featured

Tag Archives: featured

Decouple WCF Services from their DI Container with Common Instance Factory

In my last blog post I introduced the Common Instance Factory, which I built as an alternative to Common Service Locator to reduce coupling between an application and a Dependency Injection (DI) container. Unlike the Common Service Locator (CSL), the Common Instance Factory (CIF) discourages the service location anti-pattern by using the abstract factory design pattern. I would venture to ...

Read More »

Fluent interfaces in C# – method chaining

For those of you who just tuned in, this is a third post on the subject of fluent interfaces using C#. In case you haven’t read them before – here are my previous posts on the subject: Introduction Extension Methods Right, now that we’re familiar with fluent interfaces it’s time to move to “Method Chaining”. Method chaining is the most ...

Read More »

Introduction to MonoGame

Well, if you are familiar with XNA, then you already know what MonoGame is. If you are not familiar with XNA though, it is basically a game development framework that allows for creating games quickly without having to write all that repetitious code that all games need. Basically it makes creating games more about the game and less about the ...

Read More »

WCF SOAP and REST Multi-Project Visual Studio Templates

Last year I published a REST Multi-Project Visual Studio Template on the Visual Studio Extensions Gallery, available for download from the Tools-Manage Extensions menu from within Visual Studio 2010. What I like about this sort of project template is that it produces a much more realistic WCF solution with entities spit off into a separate project that is referenced from ...

Read More »

RavenDB Sharding – Map/Reduce in a cluster

In my previous post, I introduced RavenDB Sharding and discussed how we can use sharding in RavenDB. We discussed both blind sharding and data driven sharding. Today I want to introduce another aspect of RavenDB Sharding. The usage of Map/Reduce to gather information from multiple shards. We start by defining a map/reduce index. In this case, we want to look ...

Read More »