Endjin - Home

Matthew Adams's Blog

Silverlight CommandManager

by Matthew Adams

As WPF and Silverlight developers, one of the most powerful tools in our utility belt is command binding. A quick dive into WPF WPF has a fairly full-featured command infrastructure, including a rather useful type called the CommandManager, which ensures that our controls are correctly enabled and disabled as the Command to which they are […]


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


1 6 7 8