Running Node in Azure may not seem the most intuitive but turns out to be quite easy. Azure has a number of options for hosting free sites/api’s which makes trying them out and hosting basic services relatively straight forward. The Azure website has documentation to setup a node app with automated deployment through Git. The […]Read more "Running hapi in Azure"
Building a domain object model will inevitably lead to creating subclasses, abstract classes and interfaces to represent related objects and concepts. Polymorphism is after all a core tenant of object-oriented languages. C# handles these concepts gracefully as they are first class citizens within the language. However, managing these concepts in the world of web services […]Read more "WCF with Subclasses, Abstract Classes and Interfaces"
I’m going show how investing in high performance computers for developers, to save as little as 10 minutes a day, will provide a return on investment in under a year in addition to the many soft and indirect benefits. The concept of a developer getting “in the zone” is well documented. It seems that most […]Read more "Cost-Benefit Analysis of Developer Productivity"
I try to limit dependencies in my code as much as possible. The less knowledge components have of each other the better. One such dependency I try to avoid is on a specific dependency injection container. Though the most popular containers generally feature the same general functionality I avoid having assembly references to a particular […]Read more "Unity – Named Resolution with a Parameter Attribute"
The .Net client that exists to interact with ActiveMQ provides means to send and receive messages but it requires explicit knowledge of both the name of the queue that should be read from or pushed to and the type of the objects that are serialized into that queue. I find that these pieces of information […]Read more "ActiveMQ Generic Typed Client for Queue Access"
One of the most common functions of an application is to retrieve data from a database. I’m going to provide a simple layer of abstraction to provide the basis from which to implement a service layer that can be used to retrieve data from a database to provide for both abstraction and scalability. The implementation […]Read more "Data Layer Abstraction"
Last time I described that basic usage of Automapper to map the properties of one object to the properties of another. A more interesting use of the tool is as an object-relational mapper (ORM). Object-relational mapping is the process of taking data retrieved from the database and representing it as objects in your application. An […]Read more "Using Automapper Part 2 – Object Relational Mapping (ORM)"