Loosely Coupled REST

It is quite common in our applications to retrieve a resource via a link, and then find a view to render that resource, based on its content type. For example, we might have resources like this: And one view that binds to that first resource type And another that binds to that second resource type […]


In the previous instalment, we built out a model for component composition by convention, and showed how this could be implemented over MEF and/or Castle Windsor. Other IOC containers exist, though, and it would be nice if we could abstract over the container, and plug in different implementations depending on our needs and preferences. Seems […]


Combining MEF With Castle.Windsor For Low-Ceremony Component Composition Last time, we looked at a method we could use to componentize feature registration. This time, we’re going to go on and look at a means of generalizing this, and a nifty pattern you can use with C# generics to help us out. Generalization One of the […]


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 […]


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 […]