Jarod Ferguson
Author Archive

Jarod Ferguson

Node.js

If you would have asked me how Node.js came to be I probably would have guessed something along the lines of a Stanford research lab. That is, until I stumbled across this youtube video ‘Ryan Dahl – History of Node.js’ from a Pheonix user group back in Oct 11. I intended to watch just a few minutes, but it was really interesting and I ended up watching the whole thing. If you are into Node

Read More
Esoterica

Scott Hanselman wrote blog post earlier this year titled “Your Blog is The Engine of Community”, in which he encourages us to blog more, and tweet less. I hear you Scott. Social Media is junk food, and my brain is overweight! I used to have a healthy technical blog and really enjoyed contributing to the community through writing. That was over 21 mos ago. Since then I have become a complacent retweeter (with occasional joke).

Read More
C#Entity FrameworkSQL

A common complaint of the Entity Framework is slow insert times for larger datasets. Last night I was trying to insert a catalog of 15k products and it was taking a very long time (I gave up after 5 minutes). I recalled this post a while back from Mikael Eliasson demonstrating SqlBulkCopy using .NET. I had used BCP in SQL server, but not from .NET. I took Mikael’s example and roughed out a reusable generic

Read More
Esoterica

Need a quick laugh? Of course you do! Watch this –> A hilarious lightning talk by Gary Bernhardt from CodeMash 2012. Well done Gary, well done.

Read More
Backbone.jsJavaScript

The current product I am building makes heavy use of HTML5 & javascript to give the user a rich experience, both on and offline, across a variety of screens. Before I even started this application I knew I wanted a clean and proven approach to help manage the complexity on the client. After reviewing several js frameworks I decided to go with backbone.js (compare yourself). I have been working with backbone for several months and

Read More
Esoterica

One thing about software development I have always struggled with is inter-team communication. As I develop, I am often thinking things like “I need to make sure I tell Elvis I moved this method” or “The team is really going to like the reduced friction of this new implementation”. I have used various methodologies to try and address this, most of which you have probably tried too: Detailed check-in notes (no one reads unless they

Read More
ArchitectureC#Event Driven Architecture

In my last post I talked about advanced IOC usage and how it is possible to use an IOC container to resolve an open generic from a closed implementation. This is technically cool, but it does not explain why this is important. In this post I want to show some additional code that will demonstrate a basic concept of Event Driven Architecture: Publishing an Event.   Why is Event Driven Architecture good? Event driven architecture

Read More
Esoterica

Jimmy Bogard has an excellent post called “Advanced StructureMap: connecting implementations to open generic types” which he uses the StructureMap IOC container to connect messages to handlers. This is something I have been using in my codebase to handle domain events, as well as a publish/subscribe mechanism for WCF message handling. I learned about this Handler<T>(or Consumer<T>) approach from the MassTransit codebase. For those that don’t know about MassTransit, it is lean service bus implementation

Read More