Endjin - Home

endjin blogs

Think Smarter

The inimitable Ian Griffiths left a great comment on my last post – saying that: You seem to be implying that the LINQ query was being evaluated each time round in “the outer foreach”. But I don’t think that’s right. A foreach loop evaluates its collection expression just once at the start of the loop. […]

Category: Culture

A Short Tale of a Deceptively Slow LINQ Expression

by Howard van Rooijen

With any good iterative development process – the first step is to get something working: solve the problem in as simple a fashion as possible, then refactor. Part of the refactoring consideration should be an initial performance monitoring spike to see which parts of your codebase are running slow. Once I had the initial prototype […]

Category: Culture 1 Comment

Combining MEF With Castle.Windsor For Low-Ceremony Component Composition Componentizing registration In the last post, we’d got down into the detail of the Windsor container’s conventional registration model. Before we move on, let’s wind back up to the top of the stack and remind ourselves of the key objective. We want to componentize our software – […]


Combining MEF With Castle.Windsor For Low-Ceremony Component Composition Registration by convention In the last part of this series, we looked at the basic features of Castle.Windsor, and saw how we can register types explicitly in the container. Rather than having to explicitly register everything, we’d like somehow just to know what we want to install […]


Combining MEF With Castle.Windsor For Low-Ceremony Component Composition Last time, we looked at MEF and what it brings the to party. (The answer was a very powerful composition solution.) This time, we’re going to contrast that with the facilities offered by Castle.Windsor. Part of the solution — Castle.Windsor Windsor takes as its primary focus the […]


Introducing Templify

by Howard van Rooijen

[Note: Templify 0.7.0.25 is now available] In my last post I talked about the philosophy of “Work Smarter, Not Harder”; it’s a very simple mantra that can be described in three simple steps: Do, Recognise, Codify. This philosophy is at the very core of what we do at endjin so we decided to share the […]


Combining MEF With Castle.Windsor For Low-Ceremony Component Composition In the last part of this series, we looked at the scope of the component discovery and composition problem. This time, we’re going to look at MEF and see what it brings to the table. Part of the solution — MEF MEF is principally trying to solve […]


Combining MEF With Castle.Windsor For Low-Ceremony Component Composition Introduction This is the first post in the endjin series on developing a loosely-coupled, ReSTful application architecture for .NET. Here’s a rough synopsis of the series. Component discovery and composition Part 1: Fundamentals Interlude 1 — Using conventions in your solution structure Component discovery and composition Part […]


Work Smarter, Not Harder

by Howard van Rooijen

The simplest definition of my mantra of  “work smarter, not harder” is: Using your intellect, skills, established patterns, tools and a fundamental understanding of the problem space to create an elegant solution, instead of a purely brute force approach. So many people jump straight into trying to solve a problem without actually trying to understand […]

Category: Culture 2 Comments

1 12 13 14